Table of contents
Namespace: Com\Tecnick\Barcode\Type\Square\Aztec
Extends: Bitstream
File: Encode.php line 36
Encode for Aztec Barcode type class
Tags
- since: 2023-10-13
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2023-2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-barcode
Methods
__construct()
File: Encode.php line 61
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).
Tags
- throws: Exception
getGrid()
File: Encode.php line 81
public getGrid() : array<int, array<string|int, int>>
Return values
array<int, array<string|int, int»