dolibarr 20.0.2
|
Parent class for barcode document generators (image) More...
Public Member Functions | |
isEnabled () | |
Return if a model can be used or not. | |
writeBarCode ($code, $encoding, $readable='Y', $scale=1, $nooutputiferror=0) | |
Save an image file on disk (with no output) | |
Parent class for barcode document generators (image)
Definition at line 33 of file modules_barcode.class.php.
ModeleBarCode::isEnabled | ( | ) |
Return if a model can be used or not.
Reimplemented in modPhpbarcode, and modTcpdfbarcode.
Definition at line 46 of file modules_barcode.class.php.
ModeleBarCode::writeBarCode | ( | $code, | |
$encoding, | |||
$readable = 'Y', | |||
$scale = 1, | |||
$nooutputiferror = 0 ) |
Save an image file on disk (with no output)
string | $code | Value to encode |
string | $encoding | Mode of encoding ('QRCODE', 'EAN13', ...) |
string | $readable | Code can be read |
integer | $scale | Scale (not used with this engine) |
integer | $nooutputiferror | No output if error (not used with this engine) |
Reimplemented in modPhpbarcode, and modTcpdfbarcode.
Definition at line 61 of file modules_barcode.class.php.