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, $project) | |
Return next value. | |
project_get_num ($objsoc=0, $project='') | |
Return next reference not yet used as a reference. | |
Public Member Functions inherited from ModeleNumRefProjects | |
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_project_universal.php.
mod_project_universal::getExample | ( | ) |
Return an example of numbering.
Reimplemented from ModeleNumRefProjects.
Definition at line 108 of file mod_project_universal.php.
References getNextValue().
mod_project_universal::getNextValue | ( | $objsoc, | |
$project ) |
Return next value.
Reimplemented from ModeleNumRefProjects.
Definition at line 130 of file mod_project_universal.php.
References dol_now(), get_next_value(), getDolGlobalString(), and getEntity().
Referenced by getExample(), and project_get_num().
mod_project_universal::info | ( | ) |
Returns the description of the numbering model.
Reimplemented from ModeleNumRefProjects.
Definition at line 67 of file mod_project_universal.php.
References getDolGlobalString().
mod_project_universal::project_get_num | ( | $objsoc = 0, | |
$project = '' ) |
Return next reference not yet used as a reference.
Definition at line 162 of file mod_project_universal.php.
References getNextValue().