class-Com.Tecnick.Barcode.Type.Linear.MsiCheck

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 MsiCheck

Com\Tecnick\Barcode\Type\Linear\MsiCheck;

MsiCheck Barcode type class MSI + CHECKSUM (modulo 11)

Com\Tecnick\Barcode\Type\Convert
Extended by Com\Tecnick\Barcode\Type
Extended by Com\Tecnick\Barcode\Type\Linear
Extended by Com\Tecnick\Barcode\Type\Linear\MsiCheck

Direct known subclasses

Com\Tecnick\Barcode\Type\Linear\Msi
Namespace: Com\Tecnick\Barcode\Type\Linear
Package: Barcode
Category: Library
Copyright: 2010-2016 Nicola Asuni - Tecnick.com LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni info@tecnick.com
Since: 2015-02-21
Link: https://github.com/tecnickcom/tc-lib-barcode
Located at Type/Linear/MsiCheck.php
Methods summary
protected char
# getChecksum( $code )

Calculate the checksum

protected
# formatCode( )

Format code

protected array
# setBars( )

Get the bars array

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

# 'MSI+'
protected array $chbar

Map characters to barcodes

# array( '0' => '100100100100', '1' => '100100100110', '2' => '100100110100', '3' => '100100110110', '4' => '100110100100', '5' => '100110100110', '6' => '100110110100', '7' => '100110110110', '8' => '110100100100', '9' => '110100100110', 'A' => '110100110100', 'B' => '110100110110', 'C' => '110110100100', 'D' => '110110100110', 'E' => '110110110100', 'F' => '110110110110' )
Properties inherited from Com\Tecnick\Barcode\Type\Linear
$type
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-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy