Public Member Functions |
| isValid ($value) |
Data Fields |
const | INVALID = 'invalid' |
const | INVALID_LENGTH = 'invalidLength' |
Protected Attributes |
| $_messageTemplates |
Detailed Description
Definition at line 36 of file UpcA.php.
Member Function Documentation
Field Documentation
$_messageTemplates [protected] |
Initial value: array(
self::INVALID => "'%value%' is an invalid UPC-A barcode",
self::INVALID_LENGTH => "'%value%' should be 12 characters",
)
Reimplemented from Zend_Validate_Abstract.
Definition at line 55 of file UpcA.php.
Validation failure message key for when the value is an invalid barcode
Definition at line 42 of file UpcA.php.
Validation failure message key for when the value is not 12 characters long
Definition at line 48 of file UpcA.php.
The documentation for this class was generated from the following file:
- E:/E/GEAMP/www/openbiz/openbiz/others/Zend/Validate/Barcode/UpcA.php