kb / libs /phpqrcode /lib /PHPQRCode /QRrsblock.php
Xv Zan
ULFS
e4f4821
raw
history blame
456 Bytes
<?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;
}
};