Zend Framework
1.12
|
Public Member Functions | |
checkChars ($value) | |
Allows X on length of 8 chars. | |
checksum ($value) | |
Validates the checksum. | |
![]() | |
checkLength ($value) | |
Checks the length of a barcode. | |
checkChars ($value) | |
Checks for allowed characters within the barcode. | |
checksum ($value) | |
Validates the checksum. | |
getLength () | |
Returns the allowed barcode length. | |
getCharacters () | |
Returns the allowed characters. | |
getChecksum () | |
Returns the checksum function name. | |
getCheck () | |
Returns if barcode uses checksum. | |
setCheck ($check) | |
Sets the checksum validation. | |
Protected Member Functions | |
_issn ($value) | |
Validates the checksum () ISSN implementation (reversed mod11) | |
![]() | |
_gtin ($value) | |
Validates the checksum (Modulo 10) GTIN implementation factor 3. | |
_identcode ($value) | |
Validates the checksum (Modulo 10) IDENTCODE implementation factors 9 and 4. | |
_code25 ($value) | |
Validates the checksum (Modulo 10) CODE25 implementation factor 3. | |
_postnet ($value) | |
Validates the checksum () POSTNET implementation. | |
Protected Attributes | |
$_length = array(8, 13) | |
$_characters = '0123456789X' | |
$_checksum = '_gtin' | |
![]() | |
$_length | |
$_characters | |
$_checksum | |
$_hasChecksum = true | |
|
protected |
Validates the checksum () ISSN implementation (reversed mod11)
string | $value | The barcode to validate |
checkChars | ( | $value | ) |
Allows X on length of 8 chars.
string | $value | The barcode to check for allowed characters |
Implements Zend_Validate_Barcode_AdapterInterface.
checksum | ( | $value | ) |
Validates the checksum.
string | $value | The barcode to check the checksum for |
Implements Zend_Validate_Barcode_AdapterInterface.
|
protected |
|
protected |
|
protected |