You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
480 B
25 lines
480 B
<?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;
|
|
}
|
|
}; |