QRcode
in package
Tags
Table of Contents
Methods
- __construct() : mixed
- This is the class constructor.
- getBarcodeArray() : array<string|int, mixed>
- Returns a barcode array which is readable by TCPDF
Methods
__construct()
This is the class constructor.
public __construct(string $code[,
string $eclevel
= 'L'
]) : mixed
Creates a QRcode object
Parameters
- $code : string
-
code to represent using QRcode
- $eclevel : string = 'L'
-
error level:
- L : About 7% or less errors can be corrected.
- M : About 15% or less errors can be corrected.
- Q : About 25% or less errors can be corrected.
- H : About 30% or less errors can be corrected.
Tags
getBarcodeArray()
Returns a barcode array which is readable by TCPDF
public getBarcodeArray()
: array<string|int,
mixed>
Tags
Return values
array<string|int, mixed> —barcode array readable by TCPDF;