summaryrefslogtreecommitdiff
path: root/libs/phpqrcode/lib/PHPQRCode/QRrsblock.php
diff options
context:
space:
mode:
Diffstat (limited to 'libs/phpqrcode/lib/PHPQRCode/QRrsblock.php')
-rw-r--r--libs/phpqrcode/lib/PHPQRCode/QRrsblock.php25
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