dolibarr 19.0.4
|
Class to manage contract numbering rules Magre. More...
Public Member Functions | |
info ($langs) | |
Return default description of numbering model. | |
getExample () | |
Return numbering example. | |
getNextValue ($objsoc, $holiday) | |
Return next value. | |
holiday_get_num ($fuser, $objforref) | |
Return next value. | |
Public Member Functions inherited from CommonNumRefGenerator | |
getNom ($langs) | |
Return model name TODO Replace with getName() | |
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_holiday_immaculate.php.
mod_holiday_immaculate::getExample | ( | ) |
Return numbering example.
Definition at line 103 of file mod_holiday_immaculate.php.
References getNextValue().
mod_holiday_immaculate::getNextValue | ( | $objsoc, | |
$holiday ) |
Return next value.
Societe | $objsoc | third party object |
Object | $holiday | holiday object |
Definition at line 125 of file mod_holiday_immaculate.php.
References get_next_value(), and getDolGlobalString().
Referenced by getExample(), and holiday_get_num().
mod_holiday_immaculate::holiday_get_num | ( | $fuser, | |
$objforref ) |
Return next value.
Definition at line 151 of file mod_holiday_immaculate.php.
References getNextValue().
mod_holiday_immaculate::info | ( | $langs | ) |
Return default description of numbering model.
Translate | $langs | Lang object to use for output |
Reimplemented from CommonNumRefGenerator.
Definition at line 67 of file mod_holiday_immaculate.php.
References getDolGlobalString().