API Documentation

Barcode/Object/Ean13.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: Ean13.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Barcode_Object_Ean13

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_Ean13

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
$_parities
Methods
_getDefaultOptions
_calculateBarcodeWidth
_checkParams
_prepareBarcode
getChecksum
_drawText
_drawEan13Text

Description

Class for generate Ean13 barcode

Properties

$_codingMap

array $_codingMap = 'array'

Coding map - 0 = narrow bar - 1 = wide bar

Details

$_codingMap
array
visibility
protected
default
array
final
false
static
false

$_parities

 $_parities = '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 EAN/UPC barcode

Details
visibility
protected
final
false
static
false

_drawEan13Text

_drawEan13Text( ) :
Details
visibility
protected
final
false
static
false

_drawText

_drawText( ) : void

Partial function to draw text

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.