dolibarr  7.0.0-beta
Public Member Functions | List of all members
ModeleNumRefExpenseReport Class Reference

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

+ Inheritance diagram for ModeleNumRefExpenseReport:

Public Member Functions

 isEnabled ()
 Return if a module can be used or not. More...
 
 info ()
 Renvoie la description par defaut du modele de numerotation. More...
 
 getExample ()
 Renvoie un exemple de numerotation. More...
 
 canBeActivated ()
 Test si les numeros deja en vigueur dans la base ne provoquent pas de conflits qui empecheraient cette numerotation de fonctionner. More...
 
 getNextValue ($objsoc, $object)
 Renvoie prochaine valeur attribuee. More...
 
 getVersion ()
 Renvoie version du module numerotation. More...
 

Detailed Description

Parent class for numbering masks of expense reports.

Definition at line 74 of file modules_expensereport.php.

Member Function Documentation

ModeleNumRefExpenseReport::canBeActivated ( )

Test si les numeros deja en vigueur dans la base ne provoquent pas de conflits qui empecheraient cette numerotation de fonctionner.

Returns
boolean false si conflit, true si ok

Definition at line 117 of file modules_expensereport.php.

ModeleNumRefExpenseReport::getExample ( )

Renvoie un exemple de numerotation.

Returns
string Example

Definition at line 105 of file modules_expensereport.php.

ModeleNumRefExpenseReport::getNextValue (   $objsoc,
  $object 
)

Renvoie prochaine valeur attribuee.

Parameters
Societe$objsocObject thirdparty
Object$objectObject we need next value for
Returns
string Valeur

Definition at line 129 of file modules_expensereport.php.

ModeleNumRefExpenseReport::getVersion ( )

Renvoie version du module numerotation.

Returns
string Valeur

Definition at line 140 of file modules_expensereport.php.

ModeleNumRefExpenseReport::info ( )

Renvoie la description par defaut du modele de numerotation.

Returns
string Texte descripif

Definition at line 93 of file modules_expensereport.php.

ModeleNumRefExpenseReport::isEnabled ( )

Return if a module can be used or not.

Returns
boolean true if module can be used

Definition at line 83 of file modules_expensereport.php.


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