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 |




