dolibarr 20.0.0
|
Class of file that contains the numbering module rules Saphir. More...
Public Member Functions | |
info ($langs) | |
Return description of module. | |
getExample () | |
Return an example of numbering. | |
getNextValue ($objsoc, $propal) | |
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 of file that contains the numbering module rules Saphir.
Definition at line 34 of file mod_propale_saphir.php.
mod_propale_saphir::getExample | ( | ) |
Return an example of numbering.
Definition at line 108 of file mod_propale_saphir.php.
References getNextValue().
mod_propale_saphir::getNextValue | ( | $objsoc, | |
$propal ) |
Return next value.
Definition at line 133 of file mod_propale_saphir.php.
References dol_now(), get_next_value(), getDolGlobalString(), and getEntity().
Referenced by getExample().
mod_propale_saphir::info | ( | $langs | ) |
Return description of module.
Translate | $langs | Lang object to use for output |
Reimplemented from CommonNumRefGenerator.
Definition at line 66 of file mod_propale_saphir.php.
References getDolGlobalString().