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 Encoder


Extended by Com\Tecnick\Barcode\Type\Square\QrCode\Mask
Extended by Com\Tecnick\Barcode\Type\Square\QrCode\Init
Extended by Com\Tecnick\Barcode\Type\Square\QrCode\Encoder
Namespace: Com\Tecnick\Barcode\Type\Square\QrCode
Package: Barcode
Category: Library
Copyright: 2010-2016 Nicola Asuni - LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni
Since: 2015-02-21
Located at Type/Square/QrCode/Encoder.php
Methods summary
public array
# encodeMask( integer $maskNo, array $datacode )

Encode mask

protected array
# getCode( )

Return Reed-Solomon block code

# setFrameAt( array $pos, integer $val )

Set frame value at specified position

protected array
# getNextPosition( )

Return the next frame position

# getNextPositionB( integer & $xpos, integer & $ypos, integer $wdt )

Internal cycle for getNextPosition

Methods inherited from Com\Tecnick\Barcode\Type\Square\QrCode\Init
checkRsCharParamsA(), checkRsCharParamsB(), encodeRsChar(), init(), initLoop(), initRs(), initRsChar(), modnn()
Methods inherited from Com\Tecnick\Barcode\Type\Square\QrCode\Mask
__construct(), calcN1N3(), calcN1N3delta(), evaluateSymbol(), evaluateSymbolB(), makeMask(), mask(), writeFormatInformation()
Methods inherited from Com\Tecnick\Barcode\Type\Square\QrCode\MaskNum
generateMaskNo(), makeMaskNo(), mask0(), mask1(), mask2(), mask3(), mask4(), mask5(), mask6(), mask7()
Properties summary
protected array $datacode

Data code

# array()
protected array $ecccode

Error correction code

# array()
protected array $blocks


protected array $rsblocks

Reed-Solomon blocks

# array()
protected integer $count


protected integer $dataLength

Data length

protected integer $eccLength

Error correction length

protected integer $bv1

Value bv1

protected integer $width


protected array $frame


protected integer $xpos

Horizontal bit position

protected integer $ypos

Vertical bit position

protected integer $dir


protected integer $bit

Single bit value

protected array $rsitems

Reed-Solomon items

# array()
Properties inherited from Com\Tecnick\Barcode\Type\Square\QrCode\Mask
$level, $qr_default_mask, $qr_find_best_mask, $qr_find_from_random, $runLength, $spc, $version

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