category | Zend |
---|---|
package | Zend_Validate |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Validate_Barcode_AdapterAbstract |
__construct()
Sets check flag to false.
checkChars(string $value) : boolean
inherited_from | \Zend_Validate_Barcode_AdapterInterface::checkChars() |
---|
string
The barcode to check for allowed characters
boolean
checkLength(string $value) : boolean
inherited_from | \Zend_Validate_Barcode_AdapterInterface::checkLength() |
---|
string
The barcode to check for proper length
boolean
checksum(string $value) : boolean
inherited_from | \Zend_Validate_Barcode_AdapterInterface::checksum() |
---|
string
The barcode to check the checksum for
boolean
getCharacters() : integer | string
integer
string
getCheck() : boolean
inherited_from | \Zend_Validate_Barcode_AdapterInterface::getCheck() |
---|
boolean
getChecksum()
getLength() : string
string
setCheck(boolean $check) : \Zend_Validate_Barcode_AdapterAbstract
inherited_from | \Zend_Validate_Barcode_AdapterInterface::setCheck() |
---|
boolean
\Zend_Validate_Barcode_AdapterAbstract
_code25(string $value) : boolean
string
The barcode to validate
boolean
_code39(string $value) : boolean
string
The barcode to validate
boolean
_gtin(string $value) : boolean
string
The barcode to validate
boolean
_identcode(string $value) : boolean
string
The barcode to validate
boolean
_postnet(string $value) : boolean
string
The barcode to validate
boolean
$_characters : string
'0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ -.$/+%'
inherited_from | \Zend_Validate_Barcode_AdapterAbstract::_characters |
---|
$_characters : string
$_check : array
array('0' => 0, '1' => 1, '2' => 2, '3' => 3, '4' => 4, '5' => 5, '6' => 6, '7' => 7, '8' => 8, '9' => 9, 'A' => 10, 'B' => 11, 'C' => 12, 'D' => 13, 'E' => 14, 'F' => 15, 'G' => 16, 'H' => 17, 'I' => 18, 'J' => 19, 'K' => 20, 'L' => 21, 'M' => 22, 'N' => 23, 'O' => 24, 'P' => 25, 'Q' => 26, 'R' => 27, 'S' => 28, 'T' => 29, 'U' => 30, 'V' => 31, 'W' => 32, 'X' => 33, 'Y' => 34, 'Z' => 35, '-' => 36, '.' => 37, ' ' => 38, '$' => 39, '/' => 40, '+' => 41, '%' => 42)
$_checksum : string
'_code39'
inherited_from | \Zend_Validate_Barcode_AdapterAbstract::_checksum |
---|
$_checksum : string | array
$_hasChecksum : boolean
true
$_length : integer
-1
inherited_from | \Zend_Validate_Barcode_AdapterAbstract::_length |
---|
$_length : integer | array | string