classes-Com-Tecnick-Barcode-Type-Square-QrCode-Split

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.

Split

Com\Tecnick\Barcode\Type\Square\QrCode\Split

Tags
since
2015-02-21
category

Library

author

Nicola Asuni info@tecnick.com

copyright

2010-2016 Nicola Asuni - Tecnick.com LTD

license

http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)

link
https://github.com/tecnickcom/tc-lib-barcode

Table of Contents

$bsObj  : EncodingMode
EncodingMode class object
$hint  : int
Encoding mode
$items  : array<string|int, mixed>
Input items
$version  : int
QR code version.
__construct()  : mixed
Initialize
getSplittedString()  : array<string|int, mixed>
Split the input string
eat8()  : int
eat8
eatAn()  : int
eatAn
eatKanji()  : int
eatKanji
eatNum()  : int
eatNum

Properties

$hint

Encoding mode

protected int $hint = 2

$items

Input items

protected array<string|int, mixed> $items = array()

$version

QR code version.

protected int $version = 0

The Size of QRcode is defined as version. Version is an integer value from 1 to 40. Version 1 is 2121 matrix. And 4 modules increases whenever 1 version increases. So version 40 is 177177 matrix.

Methods

__construct()

Initialize

public __construct(ByteStream $bsObj, int $hint, int $version) : mixed
Parameters
$bsObj : ByteStream

ByteStream Class object

$hint : int

Encoding mode

$version : int

Code version

Return values
mixed

getSplittedString()

Split the input string

public getSplittedString(string $data) : array<string|int, mixed>
Parameters
$data : string

Data

Return values
array<string|int, mixed>

items

eat8()

eat8

protected eat8(string $data) : int
Parameters
$data : string

Data

Return values
int

run

eatAn()

eatAn

protected eatAn(string $data) : int
Parameters
$data : string

Data

Return values
int

run

eatKanji()

eatKanji

protected eatKanji(string $data) : int
Parameters
$data : string

Data

Return values
int

run

eatNum()

eatNum

protected eatNum(string $data) : int
Parameters
$data : string

Data

Return values
int

run

 

© 2004-2021 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy