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 rendering the barcode
boolean $_automaticRenderError = 'false'Activate/Deactivate the automatic rendering of exception
DetailsZend_Barcode_Object $_barcode = ''Barcode object
Detailsinteger $_horizontalPosition = 'left'Horizontal position of the barcode in the rendering resource
Detailsinteger $_leftOffset = '0'Offset of the barcode from the left of the rendering resource
Detailsfloat $_moduleSize = '1'Module size rendering
Detailsstring $_rendererNamespace = 'Zend_Barcode_Renderer'Namespace of the renderer for autoloading
Details $_resource = ''Drawing resource
Detailsinteger $_topOffset = '0'Offset of the barcode from the top of the rendering resource
Detailsstring $_type = 'null'Renderer type
Detailsinteger $_verticalPosition = 'top'Vertical position of the barcode in the rendering resource
Details__construct(
array|Zend_Config $options
=
null
)
:
voidConstructor
Details_adjustPosition(
float $supportHeight, float $supportWidth
)
:
voidCalculate the left and top offset of the barcode in the rendering support
Details_checkBarcodeObject(
)
:
voidCheck if a barcode object is correctly provided
Details_checkParams(
)
:
voidChecking of parameters after all settings
Details_drawInstructionList(
)
:
Sub process to draw the barcode instructions Needed by the automatic error rendering
Details_drawPolygon(
array $points, integer $color, boolean $filled
=
true
)
:
Draw a polygon in the rendering resource
Details_drawText(
string $text, float $size, array $position, string $font, integer $color, string $alignment
=
center, float $orientation
=
0
)
:
Draw a polygon in the rendering resource
Details_initRenderer(
)
:
voidInitialize the rendering resource
DetailscheckParams(
)
:
booleanChecking of parameters after all settings
Detailsdraw(
)
:
mixedDraw the barcode in the rendering resource
DetailsgetAutomaticRenderError(
)
:
booleanRetrieve the automatic rendering of exception
DetailsgetBarcode(
)
:
Zend_Barcode_ObjectRetrieve the barcode object
DetailsgetHorizontalPosition(
)
:
stringHorizontal position of the barcode in the rendering resource
DetailsgetLeftOffset(
)
:
integerRetrieve vertical adjustment
DetailsgetModuleSize(
)
:
floatSet the size of a module
DetailsgetRendererNamespace(
)
:
stringRetrieve renderer namespace
DetailsgetTopOffset(
)
:
integerRetrieve vertical adjustment
DetailsgetType(
)
:
stringRetrieve renderer type
DetailsgetVerticalPosition(
)
:
stringVertical position of the barcode in the rendering resource
Detailsrender(
)
:
mixedRender the resource by sending headers and drawed resource
DetailssetAutomaticRenderError(
boolean $value
)
:
Activate/Deactivate the automatic rendering of exception
DetailssetBarcode(
Zend_Barcode_Object $barcode
)
:
Zend_Barcode_RendererSet the barcode object
DetailssetConfig(
Zend_Config $config
)
:
Zend_Renderer_ObjectSet renderer state from config object
DetailssetHorizontalPosition(
string $value
)
:
Zend_Barcode_RendererHorizontal position of the barcode in the rendering resource
DetailssetLeftOffset(
integer $value
)
:
Zend_Barcode_RendererManually adjust left position
DetailssetModuleSize(
float $value
)
:
Zend_Barcode_RendererSet the size of a module
DetailssetOptions(
array $options
)
:
Zend_Renderer_ObjectSet renderer state from options array
DetailssetRendererNamespace(
string $namespace
)
:
Zend_Renderer_ObjectSet renderer namespace for autoloading
DetailssetTopOffset(
integer $value
)
:
Zend_Barcode_RendererManually adjust top position
DetailssetVerticalPosition(
string $value
)
:
Zend_Barcode_RendererVertical position of the barcode in the rendering resource
Details