dolibarr 18.0.6
mod_expensereport_jade Class Reference

Class to manage expensereport numbering rules Jade. More...

Inheritance diagram for mod_expensereport_jade:
Collaboration diagram for mod_expensereport_jade:

Public Member Functions

 info ()
 Return description of numbering model.
 
 getExample ()
 Returns an example of numbering.
 
 canBeActivated ()
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
 
 getNextValue ($object)
 Return next free value.
 
- Public Member Functions inherited from ModeleNumRefExpenseReport
 isEnabled ()
 Return if a model can be used or not.
 
 getVersion ()
 Returns the version of the numbering module.
 

Detailed Description

Class to manage expensereport numbering rules Jade.

Definition at line 29 of file mod_expensereport_jade.php.

Member Function Documentation

◆ canBeActivated()

mod_expensereport_jade::canBeActivated ( )

Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.

Returns
boolean false if conflict, true if ok

Reimplemented from ModeleNumRefExpenseReport.

Definition at line 86 of file mod_expensereport_jade.php.

◆ getExample()

mod_expensereport_jade::getExample ( )

Returns an example of numbering.

Returns
string Example

Reimplemented from ModeleNumRefExpenseReport.

Definition at line 74 of file mod_expensereport_jade.php.

◆ getNextValue()

mod_expensereport_jade::getNextValue ( $object)

Return next free value.

Parameters
Object$objectObject we need next value for
Returns
string Value if KO, <0 if KO

Reimplemented from ModeleNumRefExpenseReport.

Definition at line 122 of file mod_expensereport_jade.php.

References dol_print_error(), dol_syslog(), and dolGetFirstLastname().

◆ info()

mod_expensereport_jade::info ( )

Return description of numbering model.

Returns
string Text with description

Reimplemented from ModeleNumRefExpenseReport.

Definition at line 62 of file mod_expensereport_jade.php.


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