dolibarr 19.0.3
|
Class to manage contract numbering rules madonna. More...
Public Member Functions | |
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. | |
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. | |
getVersion () | |
Returns version of numbering module. | |
Class to manage contract numbering rules madonna.
Definition at line 30 of file mod_holiday_madonna.php.
mod_holiday_madonna::canBeActivated | ( | $object | ) |
Test if existing numbers make problems with numbering.
Object | $object | Object we need next value for |
Reimplemented from CommonNumRefGenerator.
Definition at line 93 of file mod_holiday_madonna.php.
mod_holiday_madonna::getExample | ( | ) |
Return numbering example.
Definition at line 81 of file mod_holiday_madonna.php.
mod_holiday_madonna::getNextValue | ( | $objsoc, | |
$holiday ) |
Return next value.
Definition at line 130 of file mod_holiday_madonna.php.
References dol_print_date(), and dol_syslog().
Referenced by holiday_get_num().
mod_holiday_madonna::holiday_get_num | ( | $fuser, | |
$objforref ) |
Return next value.
Definition at line 175 of file mod_holiday_madonna.php.
References getNextValue().
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 69 of file mod_holiday_madonna.php.