|
dolibarr
13.0.2
|
Class template for classes of numbering product. More...
Inheritance diagram for ModeleProductCode:Public Member Functions | |
| info ($langs) | |
| Renvoi la description par defaut du modele de numerotation. More... | |
| getNom ($langs) | |
| Renvoi nom module. More... | |
| getExample ($langs) | |
| Return an example of numbering. More... | |
| canBeActivated () | |
| Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. More... | |
| getNextValue ($objproduct=0, $type=-1) | |
| Return next value available. More... | |
| getVersion () | |
| Return version of module. More... | |
| getToolTip ($langs, $product, $type) | |
| Return description of module parameters. More... | |
| verif_prefixIsUsed () | |
| Check if mask/numbering use prefix. More... | |
Static Public Member Functions | |
| static | liste_modeles ($db, $maxfilenamelength=0) |
| Renvoi la liste des modeles de numérotation. More... | |
Class template for classes of numbering product.
Parent class for product code generators.
Definition at line 67 of file modules_product.class.php.
| ModeleProductCode::canBeActivated | ( | ) |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
Definition at line 112 of file modules_product.class.php.
| ModeleProductCode::getExample | ( | $langs | ) |
Return an example of numbering.
| Translate | $langs | Object langs |
Definition at line 101 of file modules_product.class.php.
| ModeleProductCode::getNextValue | ( | $objproduct = 0, |
|
$type = -1 |
|||
| ) |
Return next value available.
| Product | $objproduct | Object product |
| int | $type | Type |
Definition at line 124 of file modules_product.class.php.
Referenced by getToolTip().
| ModeleProductCode::getNom | ( | $langs | ) |
Renvoi nom module.
| Translate | $langs | Object langs |
Definition at line 90 of file modules_product.class.php.
Referenced by getToolTip().
| ModeleProductCode::getToolTip | ( | $langs, | |
| $product, | |||
| $type | |||
| ) |
Return description of module parameters.
| Translate | $langs | Output language |
| Product | $product | Product object |
| int | $type | -1=Nothing, 0=Customer, 1=Supplier |
Definition at line 192 of file modules_product.class.php.
References getNextValue(), getNom(), getVersion(), and yn().
| ModeleProductCode::getVersion | ( | ) |
Return version of module.
Definition at line 135 of file modules_product.class.php.
Referenced by getToolTip().
| ModeleProductCode::info | ( | $langs | ) |
Renvoi la description par defaut du modele de numerotation.
| Translate | $langs | Object langs |
Definition at line 79 of file modules_product.class.php.
|
static |
Renvoi la liste des modeles de numérotation.
Definition at line 163 of file modules_product.class.php.
References $resql.
| ModeleProductCode::verif_prefixIsUsed | ( | ) |
Check if mask/numbering use prefix.
Definition at line 259 of file modules_product.class.php.