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.
INVALID = 'barcodeInvalid'
Details FAILED = 'barcodeFailed'
Details INVALID_CHARS = 'barcodeInvalidChars'
Details INVALID_LENGTH = 'barcodeInvalidLength'
DetailsZend_Validate_Barcode_BarcodeAdapter $_adapter = ''Barcode adapter
Detailsinteger $_length = ''Length for the set subtype
Details $_messageTemplates = 'array'
Detailsarray $_messageVariables = 'array'Additional variables available for validation failure messages
Details__construct(
string|Zend_Config $adapter
)
:
voidGenerates the standard validator object
DetailsgetAdapter(
)
:
Zend_Validate_Barcode_BarcodeAdapterReturns the set adapter
DetailsgetChecksum(
)
:
booleanReturns the checksum option
DetailsisValid(
string $value
)
:
booleanDefined by Zend_Validate_Interface
Returns true if and only if $value contains a valid barcode
DetailssetAdapter(
string|Zend_Validate_Barcode $adapter, array $options
=
null
)
:
voidSets a new barcode adapter
DetailssetChecksum(
boolean $checksum
)
:
Zend_Validate_BarcodeSets the checksum option
Details