dolibarr  20.0.0-beta
Public Member Functions | List of all members
mod_holiday_immaculate Class Reference

Class to manage holiday numbering rules Immaculate. More...

Inheritance diagram for mod_holiday_immaculate:
Inheritance graph
Collaboration diagram for mod_holiday_immaculate:
Collaboration graph

Public Member Functions

 __construct ()
 info ($langs)
 Return default description of numbering model. More...
 getExample ()
 Return numbering example. More...
 getNextValue ($objsoc, $holiday)
 Return next value. More...
- Public Member Functions inherited from CommonNumRefGenerator
 getNom ($langs)
 Return model name. More...
 getName ($langs)
 Return model name. More...
 isEnabled ()
 Return if a module can be used or not. More...
 canBeActivated ($object)
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. More...
 getVersion ()
 Returns version of numbering module. More...

Detailed Description

Class to manage holiday numbering rules Immaculate.

Definition at line 32 of file mod_holiday_immaculate.php.

Member Function Documentation

◆ getExample()

mod_holiday_immaculate::getExample ( )

Return numbering example.

string Example

Definition at line 89 of file mod_holiday_immaculate.php.

◆ getNextValue()

mod_holiday_immaculate::getNextValue (   $objsoc,

Return next value.

Societe$objsocthird party object
Holiday$holidayholiday object
string|0 Value if OK, 0 if KO

Definition at line 111 of file mod_holiday_immaculate.php.

◆ info()

mod_holiday_immaculate::info (   $langs)

Return default description of numbering model.

Translate$langsLang object to use for output
string Descriptive text

Reimplemented from CommonNumRefGenerator.

Definition at line 53 of file mod_holiday_immaculate.php.

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