web_interface/astpp/application/libraries/html2pdf/_tcpdf_5.0.002/2dbarcodes.php 1 location
|
@@ 104-106 (lines=3) @@
|
101 |
|
switch ($qrtype) { |
102 |
|
case 'QRCODE': { // QR-CODE |
103 |
|
require_once(dirname(__FILE__).'/qrcode.php'); |
104 |
|
if ( ! isset($mode[1]) OR ( ! in_array($mode[1], array('L', 'M', 'Q', 'H')))) { |
105 |
|
$mode[1] = 'L'; // Ddefault: Low error correction |
106 |
|
} |
107 |
|
$qrcode = new QRcode($code, strtoupper($mode[1])); |
108 |
|
$this->barcode_array = $qrcode->getBarcodeArray(); |
109 |
|
break; |
web_interface/astpp/application/libraries/html2pdf/html2pdf.php 1 location
|
@@ 3200-3200 (lines=1) @@
|
3197 |
|
} |
3198 |
|
|
3199 |
|
if ($param['value'] === '') return true; |
3200 |
|
if ( ! in_array($param['ec'], array('L', 'M', 'Q', 'H'))) $param['ec'] = 'H'; |
3201 |
|
|
3202 |
|
$this->parsingCss->save(); |
3203 |
|
$this->parsingCss->analyse('qrcode', $param); |