com-tecnick-tcpdf

# Class: TCPDF2DBarcode Source Location: /PHPExcel/Shared/PDF/2dbarcodes.php
### Class Overview
PHP class to creates array representations for 2D barcodes to be used with TCPDF (http://www.tcpdf.org). #### Author(s): Nicola Asuni #### Version: 1.0.000 | ### Variables $barcode_array | ### Methods __construct getBarcodeArray setBarcode
### Class Details [line 62] PHP class to creates array representations for 2D barcodes to be used with TCPDF (http://www.tcpdf.org). #### Tags:
author: | Nicola Asuni
version: | 1.0.000
link: | http://www.tcpdf.org
name: | TCPDFBarcode
license: | LGPL
[ Top ] ### Class Variables #### $barcode_array = [line 68] #### Tags:
var: | representation of barcode.
access: | protected
Type: | array
[ Top ] ### Class Methods ### constructor __construct [line 80]
`TCPDF2DBarcode __construct( string $code, string $type)`
This is the class constructor. Return an array representations for 2D barcodes: $arrcode['code'] code to be printed on text label $arrcode['num_rows'] required number of rows $arrcode['num_cols'] required number of columns $arrcode['bcode'][$r][$c] value of the cell is $r row and $c column (0 = transparent, 1 = black) #### Tags:
access: | public
#### Parameters:
string | $code | code to print
string | $type | type of barcode: TEST ...TO BE IMPLEMENTED
[ Top ] ### method getBarcodeArray [line 88]
`array getBarcodeArray( )`
Return an array representations of barcode. #### Tags:
access: | public
[ Top ] ### method setBarcode [line 98]
`array setBarcode( string $code, string $type)`
Set the barcode. #### Tags:
access: | public
#### Parameters:
string | $code | code to print
string | $type | type of barcode: TEST ...TO BE IMPLEMENTED
[ Top ] Documentation generated on Tue, 01 Jun 2010 17:00:37 +0200 by phpDocumentor 1.4.3