Public Member Functions | |
__construct ($barcodeType) | |
setType ($barcodeType) | |
isValid ($value) | |
Protected Attributes | |
$_barcodeValidator |
Definition at line 33 of file Barcode.php.
__construct | ( | $ | barcodeType ) |
Generates the standard validator object
string | $barcodeType | - Barcode validator to use |
Zend_Validate_Exception |
Definition at line 49 of file Barcode.php.
isValid | ( | $ | value ) |
Defined by Zend_Validate_Interface
Returns true if and only if $value contains a valid barcode
string | $value |
Implements Zend_Validate_Interface.
Definition at line 91 of file Barcode.php.
setType | ( | $ | barcodeType ) |
Sets a new barcode validator
string | $barcodeType | - Barcode validator to use |
Zend_Validate_Exception |
Definition at line 61 of file Barcode.php.