Encode

Encode for Aztec Barcode type class

Namespace: Com\Tecnick\Barcode\Type\Square\Aztec

Extends: Bitstream

File: Encode.php line 36

Encode for Aztec Barcode type class

Tags

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

getGrid()

File: Encode.php line 81

public getGrid() : array<int, array<string|int, int>>

Return values

array<int, array<string|int, int»