public static function getBarcode (
STRING $y_code,
ENUM $y_type,
ENUM $y_format,
INTEGER+ $y_size,
INTEGER+ $y_height,
HEXCOLOR $y_color =
"#000000",
BOOLEAN $y_display_text =
false,
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: 128 / 93 / 39 / KIX / RMS
@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: {INTEGER+} $y_height: The Height in pixels for the Barcode
@param: {HEXCOLOR} $y_color: The Hexadecimal Color for the Barcode Bars ; default is Black = #000000
@param: {BOOLEAN} $y_display_text: If TRUE will display the Code below of BarCode Bars ; default is FALSE
@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