dolibarr 21.0.0-alpha
ModeleNumRefExpenseReport Class Reference

Parent class for numbering masks of expense reports. More...

Inheritance diagram for ModeleNumRefExpenseReport:
Collaboration diagram for ModeleNumRefExpenseReport:

Public Member Functions

 getNextValue ($object)
 Return next free value.
 
 getExample ()
 Return an example of numbering.
 
- 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.
 
 info ($langs)
 Returns the default description of the numbering template.
 
 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.
 

Detailed Description

Parent class for numbering masks of expense reports.

Definition at line 85 of file modules_expensereport.php.

Member Function Documentation

◆ getExample()

ModeleNumRefExpenseReport::getExample ( )
abstract

Return an example of numbering.

Returns
string Example

Reimplemented in mod_expensereport_jade, and mod_expensereport_sand.

◆ getNextValue()

ModeleNumRefExpenseReport::getNextValue ( $object)
abstract

Return next free value.

Parameters
ExpenseReport$objectObject we need next value for
Returns
string|int<-1,0> Next value if OK, -1 or 0 if KO

Reimplemented in mod_expensereport_jade, and mod_expensereport_sand.


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