dolibarr 18.0.6
mod_holiday_immaculate Class Reference

Class to manage contract numbering rules Magre. More...

Inheritance diagram for mod_holiday_immaculate:
Collaboration diagram for mod_holiday_immaculate:

Public Member Functions

 info ()
 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 ModelNumRefHolidays
 isEnabled ()
 Return if a module can be used or not.
 
 canBeActivated ()
 Test if existing numbers make problems with numbering.
 
 getVersion ()
 Return numbering version module.
 

Detailed Description

Class to manage contract numbering rules Magre.

Definition at line 31 of file mod_holiday_immaculate.php.

Member Function Documentation

◆ getExample()

mod_holiday_immaculate::getExample ( )

Return numbering example.

Returns
string Example

Reimplemented from ModelNumRefHolidays.

Definition at line 102 of file mod_holiday_immaculate.php.

References getNextValue().

◆ getNextValue()

mod_holiday_immaculate::getNextValue ( $objsoc,
$holiday )

Return next value.

Parameters
Societe$objsocthird party object
Object$holidayholiday object
Returns
string Value if OK, 0 if KO

Reimplemented from ModelNumRefHolidays.

Definition at line 124 of file mod_holiday_immaculate.php.

References get_next_value(), and getDolGlobalString().

Referenced by getExample(), and holiday_get_num().

◆ holiday_get_num()

mod_holiday_immaculate::holiday_get_num ( $fuser,
$objforref )

Return next value.

Parameters
User$fuserUser object
Object$objforrefHoliday object
Returns
string Value if OK, 0 if KO

Definition at line 150 of file mod_holiday_immaculate.php.

References getNextValue().

◆ info()

mod_holiday_immaculate::info ( )

Return default description of numbering model.

Returns
string text description

Reimplemented from ModelNumRefHolidays.

Definition at line 66 of file mod_holiday_immaculate.php.

References getDolGlobalString().


The documentation for this class was generated from the following file: