diff options
author | Frédéric Guillot <fred@kanboard.net> | 2018-06-21 14:13:41 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-06-21 14:13:41 -0700 |
commit | a491348d442ab8e6cd2fa403d4365cdad78e52ce (patch) | |
tree | a00f575d82afb2c9051bad95398b4250f4a3d44d /libs/phpqrcode/lib/PHPQRCode/QRrsblock.php | |
parent | c73ac5f1f818b6b21083f6785b4b2f6d778a6496 (diff) |
Vendoring deprecated composer libs
Diffstat (limited to 'libs/phpqrcode/lib/PHPQRCode/QRrsblock.php')
-rw-r--r-- | libs/phpqrcode/lib/PHPQRCode/QRrsblock.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/libs/phpqrcode/lib/PHPQRCode/QRrsblock.php b/libs/phpqrcode/lib/PHPQRCode/QRrsblock.php new file mode 100644 index 00000000..c1d01f22 --- /dev/null +++ b/libs/phpqrcode/lib/PHPQRCode/QRrsblock.php @@ -0,0 +1,25 @@ +<?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; + } +};
\ No newline at end of file |