__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() |
|---|
intstringarray
getChecksum() : bool
| inherited_from | \Zend\Validator\Barcode\AbstractAdapter::getChecksum() |
|---|
boolgetLength() : int | array
| inherited_from | \Zend\Validator\Barcode\AbstractAdapter::getLength() |
|---|
intarray
getUtf8StringWrapper() : \Zend\Stdlib\StringWrapper\StringWrapperInterface
hasValidCharacters(string $value) : bool
stringThe barcode to check for allowed characters
boolhasValidChecksum(string $value) : bool
| inherited_from | \Zend\Validator\Barcode\AbstractAdapter::hasValidChecksum() |
|---|
stringThe barcode to check the checksum for
boolhasValidLength(string $value) : bool
| inherited_from | \Zend\Validator\Barcode\AbstractAdapter::hasValidLength() |
|---|
stringThe barcode to check for proper length
boolsetUtf8StringWrapper(\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
stringcode128(string $value) : bool
stringThe barcode to validate
boolcode25(string $value) : bool
| inherited_from | \Zend\Validator\Barcode\AbstractAdapter::code25() |
|---|
stringThe barcode to validate
boolgetCodingSet(string $value) : string
stringBarcode
stringgtin(string $value) : bool
| inherited_from | \Zend\Validator\Barcode\AbstractAdapter::gtin() |
|---|
stringThe barcode to validate
boolidentcode(string $value) : bool
| inherited_from | \Zend\Validator\Barcode\AbstractAdapter::identcode() |
|---|
stringThe barcode to validate
boolord128(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
intpostnet(string $value) : bool
| inherited_from | \Zend\Validator\Barcode\AbstractAdapter::postnet() |
|---|
stringThe barcode to validate
boolsetCharacters(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\callableChecksum method to call
setLength(int | array $length) : \Zend\Validator\Barcode\AbstractAdapter
| inherited_from | \Zend\Validator\Barcode\AbstractAdapter::setLength() |
|---|
intarray
$utf8StringWrapper : \Zend\Stdlib\StringWrapper\StringWrapperInterface