category Zend
package Zend_Validate
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Checks for allowed characters within the barcode

checkChars(string $value) : boolean

Parameters

$value

string

The barcode to check for allowed characters

Returns

boolean

Checks the length of a barcode

checkLength(string $value) : boolean

Parameters

$value

string

The barcode to check for proper length

Returns

boolean

Validates the checksum

checksum(string $value) : boolean

Parameters

$value

string

The barcode to check the checksum for

Returns

boolean

Returns if barcode uses a checksum

getCheck() : boolean

Returns

boolean

Sets the checksum validation

setCheck(boolean $check) : \Zend_Validate_Barcode_Adapter

Parameters

$check

boolean

Returns

\Zend_Validate_Barcode_AdapterProvides a fluent interface