classes-Com-Tecnick-Barcode-Type-Square-Aztec-Encode

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.

Encode extends Bitstream

in package

Com\Tecnick\Barcode\Type\Square\Aztec\Encode

Encode for Aztec Barcode type class

Tags
since
2023-10-13
category

Library

author

Nicola Asuni info@tecnick.com

copyright

2023-2024 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

Methods

__construct()  : mixed
Aztec main encoder.
getGrid()  : array<int, array<int, int>>
Returns the bidimensional grid containing the encoded data.

Methods

__construct()

Aztec main encoder.

public __construct(string $code[, int $ecc = 33 ][, int $eci = 0 ][, string $hint = 'A' ][, string $mode = 'A' ]) : mixed
Parameters
$code : string

The code to encode.

$ecc : int = 33

The error correction code percentage of error check words.

$eci : int = 0

The ECI mode to use.

$hint : string = 'A'

The mode to use.

$mode : string = 'A'

The mode to use (A = Automatic; F = Full Range mode).

getGrid()

Returns the bidimensional grid containing the encoded data.

public getGrid() : array<int, array<int, int>>
Return values
array<int, array<int, int>>
On this page
 

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