Differences Between: [Versions 310 and 400] [Versions 39 and 400] [Versions 400 and 401] [Versions 400 and 402] [Versions 400 and 403]
(no description)
Author: | Nicola Asuni |
Version: | 1.0.005 |
File Size: | 996 lines (54 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
PDF417:: (6 methods):
__construct()
getBarcodeArray()
getErrorCorrectionLevel()
getErrorCorrection()
getInputSequences()
getCompaction()
__construct($code, $ecl=-1, $aspectratio=2, $macro=array() X-Ref |
This is the class constructor. Creates a PDF417 object param: $code (string) code to represent using PDF417 param: $ecl (int) error correction level (0-8); default -1 = automatic correction level param: $aspectratio (float) the width to height of the symbol (excluding quiet zones) param: $macro (array) information for macro block |
getBarcodeArray() X-Ref |
Returns a barcode array which is readable by TCPDF return: array barcode array readable by TCPDF; |
getErrorCorrectionLevel($ecl, $numcw) X-Ref |
Returns the error correction level (0-8) to be used return: int error correction level param: $ecl (int) error correction level param: $numcw (int) number of data codewords |
getErrorCorrection($cw, $ecl) X-Ref |
Returns the error correction codewords return: array of error correction codewords param: $cw (array) array of codewords including Symbol Length Descriptor and pad param: $ecl (int) error correction level 0-8 |
getInputSequences($code) X-Ref |
Create array of sequences from input return: bidimensional array containing characters and classification param: $code (string) code |
getCompaction($mode, $code, $addmode=true) X-Ref |
Compact data by mode. return: array of codewords param: $mode (int) compaction mode number param: $code (string) data to compact param: $addmode (boolean) if true add the mode codeword at first position |