API Documentation

Validate/Barcode/Royalmail.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_Royalmail

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_Royalmail

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
$_rows
$_columns
$_checksum
Methods
_royalmail
checkChars

Description

Properties

$_characters

string $_characters = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'

Allowed barcode characters

Details

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

$_checksum

string $_checksum = '_royalmail'

Checksum function

Details

$_checksum
string
visibility
protected
default
_royalmail
final
false
static
false

$_columns

 $_columns = 'array'

Details

visibility
protected
default
array
final
false
static
false

$_length

integer $_length = '1'

Allowed barcode lengths

Details

$_length
integer
visibility
protected
default
1
final
false
static
false

$_rows

 $_rows = 'array'

Details

visibility
protected
default
array
final
false
static
false

Methods

_royalmail

_royalmail( string $value ) : boolean

Validates the checksum ()

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

checkChars

checkChars( string $value ) : boolean

Allows start and stop tag within checked chars

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