|
dolibarr 19.0.4
|
Parent class for barcode numbering models. More...


Public Member Functions | |
| getNextValue ($objproduct, $type='') | |
| Return next value available. | |
| getToolTip ($langs, $soc, $type) | |
| Return description of module parameters. | |
Public Member Functions inherited from CommonNumRefGenerator | |
| getNom ($langs) | |
| Return model name TODO Replace with getName() | |
| getName ($langs) | |
| Return model name. | |
| isEnabled () | |
| Return if a module can be used or not. | |
| info ($langs) | |
| Returns the default description of the numbering template. | |
| canBeActivated ($object) | |
| Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. | |
| getVersion () | |
| Returns version of numbering module. | |
Parent class for barcode numbering models.
Definition at line 54 of file modules_barcode.class.php.
| ModeleNumRefBarCode::getNextValue | ( | $objproduct, | |
| $type = '' ) |
Return next value available.
Reimplemented in mod_barcode_product_standard, and mod_barcode_thirdparty_standard.
Definition at line 74 of file modules_barcode.class.php.
Referenced by getToolTip().
| ModeleNumRefBarCode::getToolTip | ( | $langs, | |
| $soc, | |||
| $type ) |
Return description of module parameters.
| Translate | $langs | Output language |
| Societe | $soc | Third party object |
| int | $type | -1=Nothing, 0=Product, 1=Service |
Definition at line 88 of file modules_barcode.class.php.
References getDolGlobalString(), getNextValue(), CommonNumRefGenerator\getNom(), CommonNumRefGenerator\getVersion(), name, and yn().