PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Common Additional Getters

Table 15. Common Getters

Getter Data Type Description
getType() String Return the name of the barcode class without the namespace (e.g. Zend_Barcode_Object_Code39 returns simply "code39")
getRawText() String Return the original text provided to the object
getTextToDisplay() String Return the text to display, including, if activated, the checksum value
getQuietZone() Integer Return the size of the space needed before and after the barcode without any drawing
getInstructions() Array Return drawing instructions as an array.
getHeight($recalculate = false) Integer Return the height of the barcode calculated after possible rotation
getWidth($recalculate = false) Integer Return the width of the barcode calculated after possible rotation
getOffsetTop($recalculate = false) Integer Return the position of the top of the barcode calculated after possible rotation
getOffsetLeft($recalculate = false) Integer Return the position of the left of the barcode calculated after possible rotation

Zend Framework