Encode extends Bitstream
in package
Com\Tecnick\Barcode\Type\Square\Aztec\Encode
Encode for Aztec Barcode type class
Tags
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>>