dolibarr 21.0.0-alpha
|
Class to manage reception numbering rules Moonstone. More...
Public Member Functions | |
info ($langs) | |
Return default description of numbering model. | |
getExample () | |
Return numbering example. | |
getNextValue ($objsoc, $reception) | |
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 reception numbering rules Moonstone.
Definition at line 32 of file mod_reception_moonstone.php.
mod_reception_moonstone::getExample | ( | ) |
Return numbering example.
Reimplemented from ModelNumRefReception.
Definition at line 84 of file mod_reception_moonstone.php.
References getNextValue().
mod_reception_moonstone::getNextValue | ( | $objsoc, | |
$reception ) |
Return next value.
Reimplemented from ModelNumRefReception.
Definition at line 109 of file mod_reception_moonstone.php.
References dol_now(), get_next_value(), and getDolGlobalString().
Referenced by getExample().
mod_reception_moonstone::info | ( | $langs | ) |
Return default description of numbering model.
Translate | $langs | Lang object to use for output |
Reimplemented from CommonNumRefGenerator.
Definition at line 47 of file mod_reception_moonstone.php.
References getDolGlobalString().