__construct()
getCharacters()
getChecksum()
getLength()
hasValidCharacters()
hasValidChecksum()
hasValidLength()
useChecksum()
code25()
gtin()
identcode()
issn()
postnet()
setCharacters()
setChecksum()
setLength()
$options
__construct()
getCharacters() : int | string | array
inherited_from | \Zend\Validator\Barcode\AbstractAdapter::getCharacters() |
---|
int
string
array
getChecksum() : bool
inherited_from | \Zend\Validator\Barcode\AbstractAdapter::getChecksum() |
---|
bool
getLength() : int | array
inherited_from | \Zend\Validator\Barcode\AbstractAdapter::getLength() |
---|
int
array
hasValidCharacters(string $value) : bool
string
The barcode to check for allowed characters
bool
hasValidChecksum(string $value) : bool
string
The barcode to check the checksum for
bool
hasValidLength(string $value) : bool
inherited_from | \Zend\Validator\Barcode\AbstractAdapter::hasValidLength() |
---|
string
The barcode to check for proper length
bool
useChecksum(bool $check) : \Zend\Validator\Barcode\AbstractAdapter | bool
inherited_from | \Zend\Validator\Barcode\AbstractAdapter::useChecksum() |
---|
bool
code25(string $value) : bool
inherited_from | \Zend\Validator\Barcode\AbstractAdapter::code25() |
---|
string
The barcode to validate
bool
gtin(string $value) : bool
inherited_from | \Zend\Validator\Barcode\AbstractAdapter::gtin() |
---|
string
The barcode to validate
bool
identcode(string $value) : bool
inherited_from | \Zend\Validator\Barcode\AbstractAdapter::identcode() |
---|
string
The barcode to validate
bool
issn(string $value) : bool
string
The barcode to validate
bool
postnet(string $value) : bool
inherited_from | \Zend\Validator\Barcode\AbstractAdapter::postnet() |
---|
string
The barcode to validate
bool
setCharacters(int $characters) : \Zend\Validator\Barcode\AbstractAdapter
inherited_from | \Zend\Validator\Barcode\AbstractAdapter::setCharacters() |
---|
int
setChecksum(\Zend\Validator\Barcode\callable $checksum) : \Zend\Validator\Barcode\AbstractAdapter
inherited_from | \Zend\Validator\Barcode\AbstractAdapter::setChecksum() |
---|
\Zend\Validator\Barcode\callable
Checksum method to call
setLength(int | array $length) : \Zend\Validator\Barcode\AbstractAdapter
inherited_from | \Zend\Validator\Barcode\AbstractAdapter::setLength() |
---|
intarray