API Documentation

Barcode/Object/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_Barcode
subpackage
Object
version
$Id: Royalmail.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Barcode_Object_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_Barcode_Object_Royalmail

Extends from
Zend_Barcode_Object_ObjectAbstract
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_Barcode
Properties
$_codingMap
$_rows
$_columns
Methods
_getDefaultOptions
_calculateBarcodeWidth
_checkParams
_prepareBarcode
getChecksum

Description

Class for generate Royal maim barcode

Properties

$_codingMap

array $_codingMap = 'array'

Coding map - 0 = Tracker, Ascender and Descender - 1 = Tracker and Ascender - 2 = Tracker and Descender - 3 = Tracker

Details

$_codingMap
array
visibility
protected
default
array
final
false
static
false

$_columns

 $_columns = 'array'

Details

visibility
protected
default
array
final
false
static
false

$_rows

 $_rows = 'array'

Details

visibility
protected
default
array
final
false
static
false

Methods

_calculateBarcodeWidth

_calculateBarcodeWidth( ) : integer

Width of the barcode (in pixels)

Output
integer
Details
visibility
protected
final
false
static
false

_checkParams

_checkParams( ) : void

Partial check of interleaved Postnet barcode

Details
visibility
protected
final
false
static
false

_getDefaultOptions

_getDefaultOptions( ) : void

Default options for Postnet barcode

Details
visibility
protected
final
false
static
false

_prepareBarcode

_prepareBarcode( ) : array

Prepare array to draw barcode

Output
array
Details
visibility
protected
final
false
static
false

getChecksum

getChecksum( string $text ) : int

Get barcode checksum

Arguments
$text
string
Output
int
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.