It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Class EanFive


EanFive Barcode type class EAN 5-Digits UPC-Based Extension

Extended by Com\Tecnick\Barcode\Type
Extended by Com\Tecnick\Barcode\Type\Linear
Extended by Com\Tecnick\Barcode\Type\Linear\EanTwo
Extended by Com\Tecnick\Barcode\Type\Linear\EanFive
Namespace: Com\Tecnick\Barcode\Type\Linear
Package: Barcode
Category: Library
Copyright: 2010-2016 Nicola Asuni - LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni [email protected]
Since: 2015-02-21
Located at Type/Linear/EanFive.php
Methods summary
protected char
# getChecksum( $code )

Calculate checksum

Methods inherited from Com\Tecnick\Barcode\Type\Linear\EanTwo
formatCode(), setBars()
Methods inherited from Com\Tecnick\Barcode\Type
__construct(), getArray(), getBarsArray(), getExtendedCode(), getGd(), getGrid(), getHtmlDiv(), getPng(), getPngData(), getPngDataImagick(), getRgbColorObject(), getSvg(), getSvgCode(), setBackgroundColor(), setColor(), setPadding(), setParameters(), setSize()
Methods inherited from Com\Tecnick\Barcode\Type\Convert
convertDecToHex(), convertHexToDec(), getBarRectXYWH(), getBarRectXYXY(), getGridArray(), getRotatedBarArray(), processBinarySequence()
Properties summary
protected string $format

Barcode format

# 'EAN5'
protected integer $code_length

Fixed code length

# 5
protected array $parities

Map parities

# array( '0' => array('B','B','A','A','A'), '1' => array('B','A','B','A','A'), '2' => array('B','A','A','B','A'), '3' => array('B','A','A','A','B'), '4' => array('A','B','B','A','A'), '5' => array('A','A','B','B','A'), '6' => array('A','A','A','B','B'), '7' => array('A','B','A','B','A'), '8' => array('A','B','A','A','B'), '9' => array('A','A','B','A','B') )
Properties inherited from Com\Tecnick\Barcode\Type\Linear\EanTwo
Properties inherited from Com\Tecnick\Barcode\Type\Linear
Properties inherited from Com\Tecnick\Barcode\Type
$bars, $bg_color_obj, $code, $color_obj, $extcode, $height, $height_ratio, $ncols, $nrows, $padding, $params, $width, $width_ratio

? 2004-2019 – Nicola Asuni - - All rights reserved.
about - disclaimer - privacy