Moodle  2.2.1
http://www.collinsharper.com
Zend_Validate_Barcode_Issn Class Reference
Inheritance diagram for Zend_Validate_Barcode_Issn:
Collaboration diagram for Zend_Validate_Barcode_Issn:

Public Member Functions

 checkChars ($value)
 checksum ($value)

Protected Member Functions

 _issn ($value)

Protected Attributes

 $_length = array(8, 13)
 $_characters = '0123456789X'
 $_checksum = '_gtin'

Detailed Description

Definition at line 33 of file Issn.php.


Member Function Documentation

_issn ( value) [protected]

Validates the checksum () ISSN implementation (reversed mod11)

Parameters:
string$valueThe barcode to validate
Returns:
boolean

Definition at line 94 of file Issn.php.

checkChars ( value)

Allows X on length of 8 chars

Parameters:
string$valueThe barcode to check for allowed characters
Returns:
boolean

Reimplemented from Zend_Validate_Barcode_AdapterAbstract.

Definition at line 59 of file Issn.php.

checksum ( value)

Validates the checksum

Parameters:
string$valueThe barcode to check the checksum for
Returns:
boolean

Reimplemented from Zend_Validate_Barcode_AdapterAbstract.

Definition at line 76 of file Issn.php.


Field Documentation

$_characters = '0123456789X' [protected]

Reimplemented from Zend_Validate_Barcode_AdapterAbstract.

Definition at line 45 of file Issn.php.

$_checksum = '_gtin' [protected]

Reimplemented from Zend_Validate_Barcode_AdapterAbstract.

Definition at line 51 of file Issn.php.

$_length = array(8, 13) [protected]

Reimplemented from Zend_Validate_Barcode_AdapterAbstract.

Definition at line 39 of file Issn.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations