Zend Framework  1.12
Public Member Functions | Protected Attributes | List of all members
Zend_Validate_Barcode_Ean5 Class Reference

Public Member Functions

 __construct ()
 Constructor.
 
- Public Member Functions inherited from Zend_Validate_Barcode_AdapterAbstract
 checkLength ($value)
 Checks the length of a barcode.
 
 checkChars ($value)
 Checks for allowed characters within the barcode.
 
 checksum ($value)
 Validates the checksum.
 
 getLength ()
 Returns the allowed barcode length.
 
 getCharacters ()
 Returns the allowed characters.
 
 getChecksum ()
 Returns the checksum function name.
 
 getCheck ()
 Returns if barcode uses checksum.
 
 setCheck ($check)
 Sets the checksum validation.
 

Protected Attributes

 $_length = 5
 
 $_characters = '0123456789'
 
- Protected Attributes inherited from Zend_Validate_Barcode_AdapterAbstract
 $_length
 
 $_characters
 
 $_checksum
 
 $_hasChecksum = true
 

Additional Inherited Members

- Protected Member Functions inherited from Zend_Validate_Barcode_AdapterAbstract
 _gtin ($value)
 Validates the checksum (Modulo 10) GTIN implementation factor 3.
 
 _identcode ($value)
 Validates the checksum (Modulo 10) IDENTCODE implementation factors 9 and 4.
 
 _code25 ($value)
 Validates the checksum (Modulo 10) CODE25 implementation factor 3.
 
 _postnet ($value)
 Validates the checksum () POSTNET implementation.
 

Constructor & Destructor Documentation

__construct ( )

Constructor.

Sets check flag to false.

Returns
void

Member Data Documentation

$_characters = '0123456789'
protected
$_length = 5
protected