2010-03-27 17:53:30 +00:00
< html >
< head >
< title > Docs For Class TCPDF2DBarcode< / title >
< link rel = "stylesheet" type = "text/css" href = "../media/style.css" >
< / head >
< body >
< table border = "0" cellspacing = "0" cellpadding = "0" height = "48" width = "100%" >
< tr >
< td class = "header_top" > com-tecnick-tcpdf< / td >
< / tr >
< tr > < td class = "header_line" > < img src = "../media/empty.png" width = "1" height = "1" border = "0" alt = "" / > < / td > < / tr >
< tr >
< td class = "header_menu" >
[ < a href = "../classtrees_com-tecnick-tcpdf.html" class = "menu" > class tree: com-tecnick-tcpdf< / a > ]
[ < a href = "../elementindex_com-tecnick-tcpdf.html" class = "menu" > index: com-tecnick-tcpdf< / a > ]
[ < a href = "../elementindex.html" class = "menu" > all elements< / a > ]
< / td >
< / tr >
< tr > < td class = "header_line" > < img src = "../media/empty.png" width = "1" height = "1" border = "0" alt = "" / > < / td > < / tr >
< / table >
< table width = "100%" border = "0" cellpadding = "0" cellspacing = "0" >
< tr valign = "top" >
< td width = "200" class = "menu" >
< b > Packages:< / b > < br / >
< a href = "../li_com-tecnick-tcpdf.html" > com-tecnick-tcpdf< / a > < br / >
< br / > < br / >
< b > Files:< / b > < br / >
< div class = "package" >
< a href = "../com-tecnick-tcpdf/_2dbarcodes.php.html" > 2dbarcodes.php
< / a > < br >
< a href = "../com-tecnick-tcpdf/_barcodes.php.html" > barcodes.php
< / a > < br >
< a href = "../com-tecnick-tcpdf/_htmlcolors.php.html" > htmlcolors.php
< / a > < br >
< a href = "../com-tecnick-tcpdf/_qrcode.php.html" > qrcode.php
< / a > < br >
< a href = "../com-tecnick-tcpdf/_tcpdf.php.html" > tcpdf.php
< / a > < br >
< a href = "../com-tecnick-tcpdf/_config---tcpdf_config.php.html" > tcpdf_config.php
< / a > < br >
< a href = "../com-tecnick-tcpdf/_unicode_data.php.html" > unicode_data.php
< / a > < br >
< / div > < br / >
< b > Classes:< / b > < br / >
< div class = "package" >
< a href = "../com-tecnick-tcpdf/QRcode.html" > QRcode< / a > < br / >
< a href = "../com-tecnick-tcpdf/TCPDF.html" > TCPDF< / a > < br / >
< a href = "../com-tecnick-tcpdf/TCPDF2DBarcode.html" > TCPDF2DBarcode< / a > < br / >
< a href = "../com-tecnick-tcpdf/TCPDFBarcode.html" > TCPDFBarcode< / a > < br / >
< / div >
< / td >
< td >
< table cellpadding = "10" cellspacing = "0" width = "100%" border = "0" > < tr > < td valign = "top" >
< h1 > Class: TCPDF2DBarcode< / h1 >
Source Location: /2dbarcodes.php< br / > < br / >
< table width = "100%" border = "0" >
< tr > < td valign = "top" >
< h3 > < a href = "#class_details" > Class Overview< / a > < / h3 >
< pre > < / pre > < br / >
< div class = "description" > PHP class to creates array representations for 2D barcodes to be used with TCPDF (http://www.tcpdf.org).< br / > < / div > < br / > < br / >
< h4 > Author(s):< / h4 >
< ul >
< li > Nicola Asuni< / li >
< / ul >
< h4 > Version:< / h4 >
< ul >
< li > 1.0.001< / li >
< / ul >
< / td >
< td valign = "top" >
< h3 > < a href = "#class_vars" > Variables< / a > < / h3 >
< ul >
< li > < a href = "../com-tecnick-tcpdf/TCPDF2DBarcode.html#var$barcode_array" > $barcode_array< / a > < / li >
< / ul >
< / td >
< td valign = "top" >
< h3 > < a href = "#class_methods" > Methods< / a > < / h3 >
< ul >
< li > < a href = "../com-tecnick-tcpdf/TCPDF2DBarcode.html#method__construct" > __construct< / a > < / li >
< li > < a href = "../com-tecnick-tcpdf/TCPDF2DBarcode.html#methodgetBarcodeArray" > getBarcodeArray< / a > < / li >
< li > < a href = "../com-tecnick-tcpdf/TCPDF2DBarcode.html#methodsetBarcode" > setBarcode< / a > < / li >
< / ul >
< / td >
< / tr > < / table >
< hr / >
< table width = "100%" border = "0" > < tr >
< / tr > < / table >
< hr / >
< a name = "class_details" > < / a >
< h3 > Class Details< / h3 >
< div class = "tags" >
[line 62]< br / >
PHP class to creates array representations for 2D barcodes to be used with TCPDF (http://www.tcpdf.org).< br / > < br / > < br / > < br / > < br / >
< h4 > Tags:< / h4 >
< div class = "tags" >
< table border = "0" cellspacing = "0" cellpadding = "0" >
< tr >
< td > < b > author:< / b > < / td > < td > Nicola Asuni< / td >
< / tr >
< tr >
< td > < b > version:< / b > < / td > < td > 1.0.001< / td >
< / tr >
< tr >
< td > < b > link:< / b > < / td > < td > < a href = "http://www.tcpdf.org" > http://www.tcpdf.org< / a > < / td >
< / tr >
< tr >
< td > < b > name:< / b > < / td > < td > TCPDFBarcode< / td >
< / tr >
< tr >
< td > < b > license:< / b > < / td > < td > < a href = "http://www.gnu.org/copyleft/lesser.html" > LGPL< / a > < / td >
< / tr >
< / table >
< / div >
< / div > < br / > < br / >
< div class = "top" > [ < a href = "#top" > Top< / a > ]< / div > < br / >
< hr / >
< a name = "class_vars" > < / a >
< h3 > Class Variables< / h3 >
< div class = "tags" >
< a name = "var$barcode_array" > < / a >
< p > < / p >
< h4 > $barcode_array = < span class = "value" > < / span > < / h4 >
< p > [line 68]< / p >
< br / > < br / >
< h4 > Tags:< / h4 >
< div class = "tags" >
< table border = "0" cellspacing = "0" cellpadding = "0" >
< tr >
< td > < b > var:< / b > < / td > < td > representation of barcode.< / td >
< / tr >
< tr >
< td > < b > access:< / b > < / td > < td > protected< / td >
< / tr >
< / table >
< / div >
< br / >
< div class = "tags" >
< table border = "0" cellspacing = "0" cellpadding = "0" >
< tr >
< td > < b > Type:< / b > < / td >
< td > array< / td >
< / tr >
< / table >
< / div > < br / > < br / >
< div class = "top" > [ < a href = "#top" > Top< / a > ]< / div > < br / >
< / div > < br / >
< hr / >
< a name = "class_methods" > < / a >
< h3 > Class Methods< / h3 >
< div class = "tags" >
< hr / >
< a name = "method__construct" > < / a >
< h3 > constructor __construct < span class = "smalllinenumber" > [line 80]< / span > < / h3 >
< div class = "function" >
< table width = "90%" border = "0" cellspacing = "0" cellpadding = "1" > < tr > < td class = "code_border" >
< table width = "100%" border = "0" cellspacing = "0" cellpadding = "2" > < tr > < td class = "code" >
< code > TCPDF2DBarcode __construct(
string
$code, string
$type)< / code >
< / td > < / tr > < / table >
< / td > < / tr > < / table > < br / >
This is the class constructor.< br / > < br / > < p > 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 > < / p > < br / > < br / > < br / >
< h4 > Tags:< / h4 >
< div class = "tags" >
< table border = "0" cellspacing = "0" cellpadding = "0" >
< tr >
< td > < b > access:< / b > < / td > < td > public< / td >
< / tr >
< / table >
< / div >
< br / > < br / >
< h4 > Parameters:< / h4 >
< div class = "tags" >
< table border = "0" cellspacing = "0" cellpadding = "0" >
< tr >
< td class = "type" > string < / td >
< td > < b > $code< / b > < / td >
< td > code to print< / td >
< / tr >
< tr >
< td class = "type" > string < / td >
< td > < b > $type< / b > < / td >
< td > type of barcode: < ul > < li > TEST< / li > < li > QRCODE : QR-CODE Low error correction< / li > < li > QRCODE,L : QR-CODE Low error correction< / li > < li > QRCODE,M : QR-CODE Medium error correction< / li > < li > QRCODE,Q : QR-CODE Better error correction< / li > < li > QRCODE,H : QR-CODE Best error correction< / li > < / ul > < / td >
< / tr >
< / table >
< / div > < br / >
< div class = "top" > [ < a href = "#top" > Top< / a > ]< / div >
< / div >
< hr / >
< a name = "methodgetBarcodeArray" > < / a >
< h3 > method getBarcodeArray < span class = "smalllinenumber" > [line 88]< / span > < / h3 >
< div class = "function" >
< table width = "90%" border = "0" cellspacing = "0" cellpadding = "1" > < tr > < td class = "code_border" >
< table width = "100%" border = "0" cellspacing = "0" cellpadding = "2" > < tr > < td class = "code" >
< code > array getBarcodeArray(
)< / code >
< / td > < / tr > < / table >
< / td > < / tr > < / table > < br / >
Return an array representations of barcode.< br / > < br / > < br / > < br / >
< h4 > Tags:< / h4 >
< div class = "tags" >
< table border = "0" cellspacing = "0" cellpadding = "0" >
< tr >
< td > < b > access:< / b > < / td > < td > public< / td >
< / tr >
< / table >
< / div >
< br / > < br / >
< div class = "top" > [ < a href = "#top" > Top< / a > ]< / div >
< / div >
< hr / >
< a name = "methodsetBarcode" > < / a >
< h3 > method setBarcode < span class = "smalllinenumber" > [line 98]< / span > < / h3 >
< div class = "function" >
< table width = "90%" border = "0" cellspacing = "0" cellpadding = "1" > < tr > < td class = "code_border" >
< table width = "100%" border = "0" cellspacing = "0" cellpadding = "2" > < tr > < td class = "code" >
< code > array setBarcode(
string
$code, string
$type)< / code >
< / td > < / tr > < / table >
< / td > < / tr > < / table > < br / >
Set the barcode.< br / > < br / > < br / > < br / >
< h4 > Tags:< / h4 >
< div class = "tags" >
< table border = "0" cellspacing = "0" cellpadding = "0" >
< tr >
< td > < b > access:< / b > < / td > < td > public< / td >
< / tr >
< / table >
< / div >
< br / > < br / >
< h4 > Parameters:< / h4 >
< div class = "tags" >
< table border = "0" cellspacing = "0" cellpadding = "0" >
< tr >
< td class = "type" > string < / td >
< td > < b > $code< / b > < / td >
< td > code to print< / td >
< / tr >
< tr >
< td class = "type" > string < / td >
< td > < b > $type< / b > < / td >
< td > type of barcode: < ul > < li > TEST< / li > < li > QRCODE : QR-CODE Low error correction< / li > < li > QRCODE,L : QR-CODE Low error correction< / li > < li > QRCODE,M : QR-CODE Medium error correction< / li > < li > QRCODE,Q : QR-CODE Better error correction< / li > < li > QRCODE,H : QR-CODE Best error correction< / li > < / ul > < / td >
< / tr >
< / table >
< / div > < br / >
< div class = "top" > [ < a href = "#top" > Top< / a > ]< / div >
< / div >
< / div > < br / >
< div class = "credit" >
< hr / >
2010-04-03 08:08:17 +00:00
Documentation generated on Sat, 03 Apr 2010 10:08:02 +0200 by < a href = "http://www.phpdoc.org" > phpDocumentor 1.4.3< / a >
2010-03-27 17:53:30 +00:00
< / div >
< / td > < / tr > < / table >
< / td >
< / tr >
< / table >
< / body >
< / html >