Smart.Framework Logo

final class \SmartModExtLib\Barcodes\SmartBarcodes2D
{ } ::

Class: SmartBarcodes2D - Generates 2D BarCodes: QRCode, Aztec, DataMatrix (SemaCode), PDF417.


class Methods

public static function getBarcode ( STRING $y_code, ENUM $y_type, ENUM $y_format, INTEGER+ $y_size, HEXCOLOR $y_color = "#000000", MIXED $y_extraoptions = "", INTEGER $y_cachetime = -1 ) {} :: MIXED
@return: {MIXED} By Type Selection: HTML Code / PNG Image / SVG Code
@param: {STRING} $y_code: The code for the BarCode Generator
@param: {ENUM} $y_type: The BarCode Type: qrcode / aztec / semacode / pdf417 (the pdf417 req. PHP BCMath Extension))
@param: {ENUM} $y_format: The Barcode format: html, html-png, png, html-svg, svg
@param: {INTEGER+} $y_size: The Scale-Size for Barcode (1..4)
@param: {HEXCOLOR} $y_color: The Hexadecimal Color for the Barcode Pixels ; default is Black = #000000
@param: {MIXED} $y_extraoptions: Extra Options: for QRCode = Quality [L, M, Q, H] L as default ; for PDF417 a Ratio Integer between 1 and 17
@param: {INTEGER} $y_cachetime: If > 0 will cache it for this number of seconds ; if zero will never expire ; if < 0 will use no cache
Function: Generate a 2D Barcode: QRCode, DataMatrix (SemaCode), PDF417

class Properties


class Constants



documentation generated on: 2023-10-19 23:15:55 +0000


Smart.Framework © 2009-2023 unix-world.org