2017-02-07 02:56:58 -05:00

25 lines
456 B
PHP

<?php
/**
* QRrsblock.php
*
* Created by arielferrandini
*/
namespace PHPQRCode;
class QRrsblock {
public $dataLength;
public $data = array();
public $eccLength;
public $ecc = array();
public function __construct($dl, $data, $el, &$ecc, QRrsItem $rs)
{
$rs->encode_rs_char($data, $ecc);
$this->dataLength = $dl;
$this->data = $data;
$this->eccLength = $el;
$this->ecc = $ecc;
}
};