dolibarr 21.0.0-alpha
|
Class to manage holiday numbering rules Madonna. More...
Public Member Functions | |
__construct () | |
Constructor. | |
info ($langs) | |
Return default description of numbering model. | |
getExample () | |
Return numbering example. | |
canBeActivated ($object) | |
Test if existing numbers make problems with numbering. | |
getNextValue ($objsoc, $holiday) | |
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. | |
getVersion () | |
Returns version of numbering module. | |
Class to manage holiday numbering rules Madonna.
Definition at line 32 of file mod_holiday_madonna.php.
mod_holiday_madonna::canBeActivated | ( | $object | ) |
Test if existing numbers make problems with numbering.
CommonObject | $object | Object we need next value for |
Reimplemented from CommonNumRefGenerator.
Definition at line 83 of file mod_holiday_madonna.php.
mod_holiday_madonna::getExample | ( | ) |
Return numbering example.
Reimplemented from ModelNumRefHolidays.
Definition at line 71 of file mod_holiday_madonna.php.
mod_holiday_madonna::getNextValue | ( | $objsoc, | |
$holiday ) |
Return next value.
Reimplemented from ModelNumRefHolidays.
Definition at line 120 of file mod_holiday_madonna.php.
References dol_print_date(), and dol_syslog().
mod_holiday_madonna::info | ( | $langs | ) |
Return default description of numbering model.
Translate | $langs | Lang object to use for output |
Reimplemented from CommonNumRefGenerator.
Definition at line 59 of file mod_holiday_madonna.php.