Zend Framework
1.12
|
Public Member Functions | |
checkLength ($value) | |
Checks the length of a barcode. | |
checkChars ($value) | |
Checks for allowed characters within the barcode. | |
checksum ($value) | |
Validates the checksum. | |
getCheck () | |
Returns if barcode uses a checksum. | |
setCheck ($check) | |
Sets the checksum validation. | |
checkChars | ( | $value | ) |
Checks for allowed characters within the barcode.
string | $value | The barcode to check for allowed characters |
Implemented in Zend_Validate_Barcode_Royalmail, Zend_Validate_Barcode_AdapterAbstract, and Zend_Validate_Barcode_Issn.
checkLength | ( | $value | ) |
Checks the length of a barcode.
string | $value | The barcode to check for proper length |
Implemented in Zend_Validate_Barcode_AdapterAbstract, Zend_Validate_Barcode_Ean8, and Zend_Validate_Barcode_Upce.
checksum | ( | $value | ) |
Validates the checksum.
string | $value | The barcode to check the checksum for |
Implemented in Zend_Validate_Barcode_AdapterAbstract, and Zend_Validate_Barcode_Issn.
getCheck | ( | ) |
Returns if barcode uses a checksum.
Implemented in Zend_Validate_Barcode_AdapterAbstract.
setCheck | ( | $check | ) |
Sets the checksum validation.
boolean | $check |
Implemented in Zend_Validate_Barcode_AdapterAbstract.