__construct()
getCharacters()
getChecksum()
getLength()
getUtf8StringWrapper()
hasValidCharacters()
hasValidChecksum()
hasValidLength()
setUtf8StringWrapper()
useChecksum()
chr128()
code128()
code25()
getCodingSet()
gtin()
identcode()
ord128()
postnet()
setCharacters()
setChecksum()
setLength()
$options
$utf8StringWrapper
__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
getUtf8StringWrapper() : \Zend\Stdlib\StringWrapper\StringWrapperInterface
hasValidCharacters(string $value) : bool
string
The barcode to check for allowed characters
bool
hasValidChecksum(string $value) : bool
inherited_from | \Zend\Validator\Barcode\AbstractAdapter::hasValidChecksum() |
---|
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
setUtf8StringWrapper(\Zend\Stdlib\StringWrapper\StringWrapperInterface $utf8StringWrapper)
useChecksum(bool $check) : \Zend\Validator\Barcode\AbstractAdapter | bool
inherited_from | \Zend\Validator\Barcode\AbstractAdapter::useChecksum() |
---|
bool
chr128(int $value, string $set) : string
Table A ASCII CODE128 32 to 95 == 0 to 63 0 to 31 == 64 to 95 128 to 138 == 96 to 106
Table B ASCII CODE128 32 to 138 == 0 to 106
Table C ASCII CODE128 "00" to "99" == 0 to 99 132 to 138 == 100 to 106
int
string
string
code128(string $value) : bool
string
The barcode to validate
bool
code25(string $value) : bool
inherited_from | \Zend\Validator\Barcode\AbstractAdapter::code25() |
---|
string
The barcode to validate
bool
getCodingSet(string $value) : string
string
Barcode
string
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
ord128(string $value, string $set) : int
Table A ASCII CODE128 32 to 95 == 0 to 63 0 to 31 == 64 to 95 128 to 138 == 96 to 106
Table B ASCII CODE128 32 to 138 == 0 to 106
Table C ASCII CODE128 "00" to "99" == 0 to 99 132 to 138 == 100 to 106
string
string
int
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
$utf8StringWrapper : \Zend\Stdlib\StringWrapper\StringWrapperInterface