dolibarr 20.0.0
|
Class to manage contract numbering rules Magre. More...
Public Member Functions | |
__construct () | |
Constructor. | |
info ($langs) | |
Return default description of numbering model. | |
getExample () | |
Return numbering example. | |
getNextValue ($objsoc, $contract) | |
Return next value. | |
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. | |
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. | |
Class to manage contract numbering rules Magre.
Definition at line 31 of file mod_contract_magre.php.
mod_contract_magre::getExample | ( | ) |
Return numbering example.
Definition at line 90 of file mod_contract_magre.php.
References getNextValue().
mod_contract_magre::getNextValue | ( | $objsoc, | |
$contract ) |
Return next value.
Definition at line 112 of file mod_contract_magre.php.
References get_next_value(), and getDolGlobalString().
Referenced by getExample().
mod_contract_magre::info | ( | $langs | ) |
Return default description of numbering model.
Translate | $langs | Lang object to use for output |
Reimplemented from CommonNumRefGenerator.
Definition at line 53 of file mod_contract_magre.php.
References getDolGlobalString().