Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Class for generate Barcode
draw(
string $barcode, string $renderer, array $barcodeConfig
=
array, array $rendererConfig
=
array
)
:
mixed
Proxy to renderer draw() method
factory(
mixed $barcode, mixed $renderer
=
image, mixed $barcodeConfig
=
array, mixed $rendererConfig
=
array, boolean $automaticRenderError
=
true
)
:
Zend_Barcode
Factory for Zend_Barcode classes.
First argument may be a string containing the base of the adapter class name, e.g. 'int25' corresponds to class Zend_Barcode_Object_Int25. This is case-insensitive.
First argument may alternatively be an object of type Zend_Config. The barcode class base name is read from the 'barcode' property. The barcode config parameters are read from the 'params' property.
Second argument is optional and may be an associative array of key-value pairs. This is used as the argument to the barcode constructor.
If the first argument is of type Zend_Config, it is assumed to contain all parameters, and the second argument is ignored.
makeBarcode(
mixed $barcode, mixed $barcodeConfig
=
array
)
:
Zend_Barcode_Object
Barcode Constructor
makeRenderer(
mixed $renderer
=
image, mixed $rendererConfig
=
array
)
:
Zend_Barcode_Renderer
Renderer Constructor
render(
string $barcode, string $renderer, array $barcodeConfig
=
array, array $rendererConfig
=
array
)
:
Proxy to renderer render() method
setBarcodeFont(
string $font
)
:
Proxy for setBarcodeFont of Zend_Barcode_Object