classes-QRcode

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.

    QRcode

    in package

    Tags
    class

    QRcode Class to create QR-code arrays for TCPDF class. QR Code symbol is a 2D barcode that can be scanned by handy terminals such as a mobile phone with CCD. The capacity of QR Code is up to 7000 digits or 4000 characters, and has high robustness. This class supports QR Code model 2, described in JIS (Japanese Industrial Standards) X0510:2004 or ISO/IEC 18004. Currently the following features are not supported: ECI and FNC1 mode, Micro QR Code, QR Code model 1, Structured mode.

    This class is derived from "PHP QR Code encoder" by Dominik Dzienia (http://phpqrcode.sourceforge.net/) based on "libqrencode C library 3.1.1." by Kentaro Fukuchi (http://megaui.net/fukuchi/works/qrencode/index.en.html), contains Reed-Solomon code written by Phil Karn, KA9Q. QR Code is registered trademark of DENSO WAVE INCORPORATED (http://www.denso-wave.com/qrcode/index-e.html). Please read comments on this class source file for full copyright and license information.

    author

    Nicola Asuni

    version
    1.0.010

    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
    public
    since
    1.0.000

    getBarcodeArray()

    Returns a barcode array which is readable by TCPDF

    public getBarcodeArray() : array<string|int, mixed>
    Tags
    public
    Return values
    array<string|int, mixed>

    barcode array readable by TCPDF;

    On this page
     

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