|
dolibarr
x.y.z
|
Class to generate barcode images using tcpdf barcode generator. More...


Public Member Functions | |
| info () | |
| Return description of numbering model. More... | |
| isEnabled () | |
| Return if a module can be used or not. More... | |
| canBeActivated () | |
| Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. More... | |
| encodingIsSupported ($encoding) | |
| Return true if encoding is supported. More... | |
| buildBarCode ($code, $encoding, $readable='Y', $scale=1, $nooutputiferror=0) | |
| Return an image file on the fly (no need to write on disk) More... | |
| writeBarCode ($code, $encoding, $readable='Y', $scale=1, $nooutputiferror=0) | |
| Save an image file on disk (with no output) More... | |
| getTcpdfEncodingType ($dolEncodingType) | |
| get available output_modes for tcpdf class wth its translated description More... | |
Class to generate barcode images using tcpdf barcode generator.
Definition at line 32 of file tcpdfbarcode.modules.php.
| modTcpdfbarcode::buildBarCode | ( | $code, | |
| $encoding, | |||
$readable = 'Y', |
|||
$scale = 1, |
|||
$nooutputiferror = 0 |
|||
| ) |
Return an image file on the fly (no need to write on disk)
| string | $code | Value to encode |
| string | $encoding | Mode of encoding |
| string | $readable | Code can be read (What is this ? is this used ?) |
| integer | $scale | Scale (not used with this engine) |
| integer | $nooutputiferror | No output if error (not used with this engine) |
Definition at line 108 of file tcpdfbarcode.modules.php.
| modTcpdfbarcode::canBeActivated | ( | ) |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
Definition at line 75 of file tcpdfbarcode.modules.php.
| modTcpdfbarcode::encodingIsSupported | ( | $encoding | ) |
Return true if encoding is supported.
| string | $encoding | Encoding norm |
Definition at line 88 of file tcpdfbarcode.modules.php.
| modTcpdfbarcode::getTcpdfEncodingType | ( | $dolEncodingType | ) |
get available output_modes for tcpdf class wth its translated description
| string | $dolEncodingType | dolibarr barcode encoding type |
Definition at line 218 of file tcpdfbarcode.modules.php.
| modTcpdfbarcode::info | ( | ) |
Return description of numbering model.
Definition at line 52 of file tcpdfbarcode.modules.php.
| modTcpdfbarcode::isEnabled | ( | ) |
Return if a module can be used or not.
Reimplemented from ModeleBarCode.
Definition at line 64 of file tcpdfbarcode.modules.php.
| modTcpdfbarcode::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 |
| 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) |
Definition at line 156 of file tcpdfbarcode.modules.php.