Zend Framework
1.12
|
Public Member Functions | |
__construct ($options=null) | |
Constructor. | |
setOptions ($options) | |
Set renderer state from options array. | |
setConfig (Zend_Config $config) | |
Set renderer state from config object. | |
setRendererNamespace ($namespace) | |
Set renderer namespace for autoloading. | |
getRendererNamespace () | |
Retrieve renderer namespace. | |
getType () | |
Retrieve renderer type. | |
setTopOffset ($value) | |
Manually adjust top position. | |
getTopOffset () | |
Retrieve vertical adjustment. | |
setLeftOffset ($value) | |
Manually adjust left position. | |
getLeftOffset () | |
Retrieve vertical adjustment. | |
setAutomaticRenderError ($value) | |
Activate/Deactivate the automatic rendering of exception. | |
setHorizontalPosition ($value) | |
Horizontal position of the barcode in the rendering resource. | |
getHorizontalPosition () | |
Horizontal position of the barcode in the rendering resource. | |
setVerticalPosition ($value) | |
Vertical position of the barcode in the rendering resource. | |
getVerticalPosition () | |
Vertical position of the barcode in the rendering resource. | |
setModuleSize ($value) | |
Set the size of a module. | |
getModuleSize () | |
Set the size of a module. | |
getAutomaticRenderError () | |
Retrieve the automatic rendering of exception. | |
setBarcode ($barcode) | |
Set the barcode object. | |
getBarcode () | |
Retrieve the barcode object. | |
checkParams () | |
Checking of parameters after all settings. | |
draw () | |
Draw the barcode in the rendering resource. | |
render () | |
Render the resource by sending headers and drawed resource. | |
Protected Member Functions | |
_checkBarcodeObject () | |
Check if a barcode object is correctly provided. | |
_adjustPosition ($supportHeight, $supportWidth) | |
Calculate the left and top offset of the barcode in the rendering support. | |
_checkParams () | |
Checking of parameters after all settings. | |
_initRenderer () | |
Initialize the rendering resource. | |
_drawPolygon ($points, $color, $filled=true) | |
Draw a polygon in the rendering resource. | |
_drawText ($text, $size, $position, $font, $color, $alignment= 'center', $orientation=0) | |
Draw a polygon in the rendering resource. | |
Protected Attributes | |
$_rendererNamespace = 'Zend_Barcode_Renderer' | |
$_type = null | |
$_automaticRenderError = false | |
$_topOffset = 0 | |
$_leftOffset = 0 | |
$_horizontalPosition = 'left' | |
$_verticalPosition = 'top' | |
$_moduleSize = 1 | |
$_barcode | |
$_resource | |
Drawing resource. | |
__construct | ( | $options = null | ) |
|
protected |
Calculate the left and top offset of the barcode in the rendering support.
float | $supportHeight | |
float | $supportWidth |
|
protected |
Check if a barcode object is correctly provided.
Zend_Barcode_Renderer_Exception |
|
abstractprotected |
Checking of parameters after all settings.
|
abstractprotected |
Draw a polygon in the rendering resource.
array | $points | |
integer | $color | |
boolean | $filled |
|
abstractprotected |
Draw a polygon in the rendering resource.
string | $text | |
float | $size | |
array | $position | |
string | $font | |
integer | $color | |
string | $alignment | |
float | $orientation |
|
abstractprotected |
Initialize the rendering resource.
checkParams | ( | ) |
Checking of parameters after all settings.
draw | ( | ) |
Draw the barcode in the rendering resource.
getAutomaticRenderError | ( | ) |
Retrieve the automatic rendering of exception.
getBarcode | ( | ) |
Retrieve the barcode object.
getHorizontalPosition | ( | ) |
Horizontal position of the barcode in the rendering resource.
getLeftOffset | ( | ) |
Retrieve vertical adjustment.
getModuleSize | ( | ) |
Set the size of a module.
getRendererNamespace | ( | ) |
Retrieve renderer namespace.
getTopOffset | ( | ) |
Retrieve vertical adjustment.
getType | ( | ) |
Retrieve renderer type.
getVerticalPosition | ( | ) |
Vertical position of the barcode in the rendering resource.
|
abstract |
Render the resource by sending headers and drawed resource.
setAutomaticRenderError | ( | $value | ) |
Activate/Deactivate the automatic rendering of exception.
boolean | $value |
setBarcode | ( | $barcode | ) |
Set the barcode object.
Zend_Barcode_Object | $barcode |
setConfig | ( | Zend_Config | $config | ) |
setHorizontalPosition | ( | $value | ) |
Horizontal position of the barcode in the rendering resource.
string | $value |
Zend_Barcode_Renderer_Exception |
setLeftOffset | ( | $value | ) |
Manually adjust left position.
integer | $value |
Zend_Barcode_Renderer_Exception |
setModuleSize | ( | $value | ) |
Set the size of a module.
float | $value |
Zend_Barcode_Renderer_Exception |
setOptions | ( | $options | ) |
Set renderer state from options array.
array | $options |
setRendererNamespace | ( | $namespace | ) |
Set renderer namespace for autoloading.
string | $namespace |
setTopOffset | ( | $value | ) |
Manually adjust top position.
integer | $value |
Zend_Barcode_Renderer_Exception |
setVerticalPosition | ( | $value | ) |
Vertical position of the barcode in the rendering resource.
string | $value |
Zend_Barcode_Renderer_Exception |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Drawing resource.
|
protected |
|
protected |
|
protected |