Zend Framework
1.12
|
Static Public Member Functions | |
static | factory ($barcode, $renderer= 'image', $barcodeConfig=array(), $rendererConfig=array(), $automaticRenderError=true) |
Factory for Zend_Barcode classes. | |
static | makeBarcode ($barcode, $barcodeConfig=array()) |
Barcode Constructor. | |
static | makeRenderer ($renderer= 'image', $rendererConfig=array()) |
Renderer Constructor. | |
static | render ($barcode, $renderer, $barcodeConfig=array(), $rendererConfig=array()) |
Proxy to renderer render() method. | |
static | draw ($barcode, $renderer, $barcodeConfig=array(), $rendererConfig=array()) |
Proxy to renderer draw() method. | |
static | setBarcodeFont ($font) |
Proxy for setBarcodeFont of Zend_Barcode_Object. | |
|
static |
Proxy to renderer draw() method.
string | Zend_Barcode_Object | array | Zend_Config | $barcode | |
string | Zend_Barcode_Renderer | $renderer | |
array | Zend_Config | $barcodeConfig | |
array | Zend_Config | $rendererConfig |
|
static |
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.
mixed | $barcode | String name of barcode class, or Zend_Config object. |
mixed | $renderer | String name of renderer class |
mixed | $barcodeConfig | OPTIONAL; an array or Zend_Config object with barcode parameters. |
mixed | $rendererConfig | OPTIONAL; an array or Zend_Config object with renderer parameters. |
boolean | $automaticRenderError | OPTIONAL; set the automatic rendering of exception |
Zend_Barcode_Exception |
|
static |
Barcode Constructor.
mixed | $barcode | String name of barcode class, or Zend_Config object. |
mixed | $barcodeConfig | OPTIONAL; an array or Zend_Config object with barcode parameters. |
|
static |
Renderer Constructor.
mixed | $renderer | String name of renderer class, or Zend_Config object. |
mixed | $rendererConfig | OPTIONAL; an array or Zend_Config object with renderer parameters. |
|
static |
Proxy to renderer render() method.
string | Zend_Barcode_Object | array | Zend_Config | $barcode | |
string | Zend_Barcode_Renderer | $renderer | |
array | Zend_Config | $barcodeConfig | |
array | Zend_Config | $rendererConfig |
|
static |
Proxy for setBarcodeFont of Zend_Barcode_Object.
string | $font | void |