getCharacters()
getChecksum()
getLength()
hasValidCharacters()
hasValidChecksum()
hasValidLength()
useChecksum()
code25()
gtin()
identcode()
postnet()
setCharacters()
setChecksum()
setLength()
$options
getCharacters() : integer | string | array
integerstringarray
getChecksum() : bool
boolgetLength() : int | array
intarray
hasValidCharacters(string $value) : bool
stringThe barcode to check for allowed characters
boolhasValidChecksum(string $value) : bool
stringThe barcode to check the checksum for
boolhasValidLength(string $value) : bool
stringThe barcode to check for proper length
booluseChecksum(bool $check) : \Zend\Validator\Barcode\AbstractAdapter | bool
code25(string $value) : bool
stringThe barcode to validate
boolgtin(string $value) : bool
stringThe barcode to validate
boolidentcode(string $value) : bool
stringThe barcode to validate
boolpostnet(string $value) : bool
stringThe barcode to validate
boolsetCharacters(integer $characters) : \Zend\Validator\Barcode\AbstractAdapter
setChecksum(\Zend\Validator\Barcode\callable $checksum) : \Zend\Validator\Barcode\AbstractAdapter
\Zend\Validator\Barcode\callableChecksum method to call
setLength(int | array $length) : \Zend\Validator\Barcode\AbstractAdapter