dolibarr  18.0.0-alpha
Public Member Functions | List of all members
mod_expensereport_jade Class Reference

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

Inheritance diagram for mod_expensereport_jade:
Inheritance graph
[legend]
Collaboration diagram for mod_expensereport_jade:
Collaboration graph
[legend]

Public Member Functions

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

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.

◆ 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: