QRCode GitHub

๐Ÿ“Š Overview: 1 Constructor 5 Functions 2 Getters

๐Ÿ• Last updated: 2026-01-13T16:04:13.017Z


๐Ÿ“‘ Table of Contents


Constructor

constructor

[๐Ÿ—๏ธ constructor]

Class constructor($BarcodeType : Text; $PrimaryKey : Integer)

Initializes a QR code object and populates it based on the barcode type and primary key

Parameters:

Name Type Optional Description
$BarcodeType Text - -
$PrimaryKey Integer - -

Functions

Regular Functions

fillBoxLabelsQR

Function fillBoxLabelsQR($BoxLabelID : Integer)

Populates QR code data from a box label entity

Parameters:

Name Type Optional Description
$BoxLabelID Integer - -

fillPalletQR

Function fillPalletQR($PalletID : Integer)

Populates QR code data from a pallet entity

Parameters:

Name Type Optional Description
$PalletID Integer - -

fillPrinterQR

Function fillPrinterQR($PrinterID : Integer)

Populates QR code data from a printer entity

Parameters:

Name Type Optional Description
$PrinterID Integer - -

getJson

Function getJson -> Text

Returns the QR code data as a JSON string

Returns: Text


generate

Function generate -> Picture

Generates and returns a QR code picture from the stored data

Returns: Picture


Computed Attributes (Getters/Setters/Query/OrderBy)

BarcodeType

[๐Ÿ” get only]

Function get BarcodeType -> Text

Returns the type of barcode this QR code represents

Returns: Text


PrimaryKey

[๐Ÿ” get only]

Function get PrimaryKey -> Integer

Returns the primary key ID of the entity this QR code represents

Returns: Integer



Generated from QRCode.4dm


This site uses Just the Docs, a documentation theme for Jekyll.