API Documentation

Validate/Barcode/Issn.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Validate
version
$Id:$
Classes
Zend_Validate_Barcode_Issn

Description

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.

Zend_Validate_Barcode_Issn

Extends from
Zend_Validate_Barcode_AdapterAbstract
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Validate
Properties
$_length
$_characters
$_checksum
Methods
checkChars
checksum
_issn

Description

Properties

$_characters

string $_characters = '0123456789X'

Allowed barcode characters

Details

$_characters
string
visibility
protected
default
0123456789X
final
false
static
false

$_checksum

string $_checksum = '_gtin'

Checksum function

Details

$_checksum
string
visibility
protected
default
_gtin
final
false
static
false

$_length

integer $_length = 'array'

Allowed barcode lengths

Details

$_length
integer
visibility
protected
default
array
final
false
static
false

Methods

_issn

_issn( string $value ) : boolean

Validates the checksum () ISSN implementation (reversed mod11)

Arguments
$value
string
The barcode to validate
Output
boolean
Details
visibility
protected
final
false
static
false

checkChars

checkChars( string $value ) : boolean

Allows X on length of 8 chars

Arguments
$value
string
The barcode to check for allowed characters
Output
boolean
Details
visibility
public
final
false
static
false

checksum

checksum( string $value ) : boolean

Validates the checksum

Arguments
$value
string
The barcode to check the checksum for
Output
boolean
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.