Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
string $_characters = ''Allowed barcode characters
Detailsstring|array $_checksum = ''Callback to checksum function
Detailsboolean $_hasChecksum = 'true'Is a checksum value included?
Detailsinteger|array|string $_length = ''Allowed barcode lengths
Details_code25(
string $value
)
:
booleanValidates the checksum (Modulo 10) CODE25 implementation factor 3
Details_gtin(
string $value
)
:
booleanValidates the checksum (Modulo 10) GTIN implementation factor 3
Details_identcode(
string $value
)
:
booleanValidates the checksum (Modulo 10) IDENTCODE implementation factors 9 and 4
Details_postnet(
string $value
)
:
booleanValidates the checksum () POSTNET implementation
DetailscheckChars(
string $value
)
:
booleanChecks for allowed characters within the barcode
DetailscheckLength(
string $value
)
:
booleanChecks the length of a barcode
Detailschecksum(
string $value
)
:
booleanValidates the checksum
DetailsgetCharacters(
)
:
integer|stringReturns the allowed characters
DetailsgetCheck(
)
:
booleanReturns if barcode uses checksum
DetailsgetChecksum(
)
:
Returns the checksum function name
DetailsgetLength(
)
:
stringReturns the allowed barcode length
DetailssetCheck(
boolean $check
)
:
Zend_Validate_Barcode_AdapterAbstractSets the checksum validation
Details