[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/tcpdf/ -> 2dbarcodes.php (summary)

PHP class to creates array representations for 2D barcodes to be used with TCPDF.

Author: Nicola Asuni
Copyright: 2008-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - [email protected]
License: http://www.gnu.org/copyleft/lesser.html LGPL
Version: 1.0.000
File Size: 126 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

TCPDF2DBarcode:: (3 methods):
  __construct()
  getBarcodeArray()
  setBarcode()


Class: TCPDF2DBarcode  - X-Ref

PHP class to creates array representations for 2D barcodes to be used with TCPDF (http://www.tcpdf.org).<br>

__construct($code, $type)   X-Ref
This is the class constructor.
Return an array representations for 2D barcodes:<ul>
<li>$arrcode['code'] code to be printed on text label</li>
<li>$arrcode['num_rows'] required number of rows</li>
<li>$arrcode['num_cols'] required number of columns</li>
<li>$arrcode['bcode'][$r][$c] value of the cell is $r row and $c column (0 = transparent, 1 = black)</li></ul>

param: string $code code to print
param: string $type type of barcode: <ul><li>TEST</li><li>...TO BE IMPLEMENTED</li></ul>

getBarcodeArray()   X-Ref
Return an array representations of barcode.

return: array

setBarcode($code, $type)   X-Ref
Set the barcode.

param: string $code code to print
param: string $type type of barcode: <ul><li>TEST</li><li>...TO BE IMPLEMENTED</li></ul>
return: array



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1