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


Public Member Functions | |
| getNextValue ($objcommon=null, $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. | |
| 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 71 of file modules_barcode.class.php.
| ModeleNumRefBarCode::getNextValue | ( | $objcommon = null, | |
| $type = '' ) |
Return next value available.
| ?CommonObject | $objcommon | Object Product, Thirdparty |
| string | $type | Type of barcode (EAN, ISBN, ...) |
Reimplemented in mod_barcode_product_standard, and mod_barcode_thirdparty_standard.
Definition at line 84 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 98 of file modules_barcode.class.php.
References getDolGlobalString(), CommonNumRefGenerator\getName(), getNextValue(), CommonNumRefGenerator\getVersion(), name, and yn().