dolibarr 18.0.6
|
Classe du modele de numerotation de reference de projet Universal. More...
Public Member Functions | |
info () | |
Returns the description of the numbering model. | |
getExample () | |
Return an example of numbering. | |
getNextValue ($objsoc, $object) | |
Return next value. | |
project_get_num ($objsoc=0, $object='') | |
Return next reference not yet used as a reference. | |
Public Member Functions inherited from ModeleNumRefTask | |
isEnabled () | |
Return if a module can be used or not. | |
canBeActivated () | |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. | |
getVersion () | |
Renvoi version du module numerotation. | |
Classe du modele de numerotation de reference de projet Universal.
Definition at line 31 of file mod_task_universal.php.
mod_task_universal::getExample | ( | ) |
Return an example of numbering.
Reimplemented from ModeleNumRefTask.
Definition at line 103 of file mod_task_universal.php.
References getNextValue().
mod_task_universal::getNextValue | ( | $objsoc, | |
$object ) |
Return next value.
Reimplemented from ModeleNumRefTask.
Definition at line 125 of file mod_task_universal.php.
References dol_now(), get_next_value(), and getDolGlobalString().
Referenced by getExample(), and project_get_num().
mod_task_universal::info | ( | ) |
Returns the description of the numbering model.
Reimplemented from ModeleNumRefTask.
Definition at line 62 of file mod_task_universal.php.
References getDolGlobalString().
mod_task_universal::project_get_num | ( | $objsoc = 0, | |
$object = '' ) |
Return next reference not yet used as a reference.
Definition at line 153 of file mod_task_universal.php.
References getNextValue().