Class for generate Barcode
category | Zend |
---|---|
package | Zend_Barcode |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
draw($barcode, $renderer, $barcodeConfig= array()
, $rendererConfig= array()
) : mixed
mixed
factory(mixed $barcode, mixed $renderer= 'image'
, mixed $barcodeConfig= array()
, mixed $rendererConfig= array()
, boolean $automaticRenderError= true
) : \Zend_Barcode
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
String name of barcode class, or Zend_Config object.
mixed
String name of renderer class
mixed
OPTIONAL; an array or Zend_Config object with barcode parameters.
mixed
OPTIONAL; an array or Zend_Config object with renderer parameters.
boolean
OPTIONAL; set the automatic rendering of exception
\Zend_Barcode_Exception |
---|
\Zend_Barcode
makeBarcode(mixed $barcode, mixed $barcodeConfig = array()
) : \Zend_Barcode_Object
mixed
String name of barcode class, or Zend_Config object.
mixed
OPTIONAL; an array or Zend_Config object with barcode parameters.
\Zend_Barcode_Object
makeRenderer(mixed $renderer= 'image'
, mixed $rendererConfig= array()
) : \Zend_Barcode_Renderer
mixed
String name of renderer class, or Zend_Config object.
mixed
OPTIONAL; an array or Zend_Config object with renderer parameters.
\Zend_Barcode_Renderer
render($barcode, $renderer, $barcodeConfig= array()
, $rendererConfig= array()
)
setBarcodeFont(string $font)
eturn | void |
---|
string