dolibarr  9.0.0
Public Member Functions | Public Attributes | List of all members
mod_task_universal Class Reference

Classe du modele de numerotation de reference de projet Universal. More...

+ Inheritance diagram for mod_task_universal:
+ Collaboration diagram for mod_task_universal:

Public Member Functions

 info ()
 Renvoi la description du modele de numerotation. More...
 
 getExample ()
 Renvoi un exemple de numerotation. More...
 
 getNextValue ($objsoc, $object)
 Return next value. More...
 
 project_get_num ($objsoc=0, $object='')
 Return next reference not yet used as a reference. More...
 
- Public Member Functions inherited from ModeleNumRefTask
 isEnabled ()
 Return if a module can be used or not. More...
 
 info ()
 Renvoi la description par defaut du modele de numerotation. More...
 
 getExample ()
 Renvoi un exemple de numerotation. More...
 
 canBeActivated ()
 Test si les numeros deja en vigueur dans la base ne provoquent pas de de conflits qui empechera cette numerotation de fonctionner. More...
 
 getNextValue ($objsoc, $project)
 Renvoi prochaine valeur attribuee. More...
 
 getVersion ()
 Renvoi version du module numerotation. More...
 

Public Attributes

 $version = 'dolibarr'
 Dolibarr version of the loaded document string.
 

Detailed Description

Classe du modele de numerotation de reference de projet Universal.

Definition at line 31 of file mod_task_universal.php.

Member Function Documentation

◆ getExample()

mod_task_universal::getExample ( )

Renvoi un exemple de numerotation.

Returns
string Example

Definition at line 103 of file mod_task_universal.php.

◆ getNextValue()

mod_task_universal::getNextValue (   $objsoc,
  $object 
)

Return next value.

Parameters
Societe$objsocObject third party
Task$objectObject task
Returns
string Value if OK, 0 if KO

Definition at line 126 of file mod_task_universal.php.

◆ info()

mod_task_universal::info ( )

Renvoi la description du modele de numerotation.

Returns
string Texte descripif

Definition at line 62 of file mod_task_universal.php.

◆ project_get_num()

mod_task_universal::project_get_num (   $objsoc = 0,
  $object = '' 
)

Return next reference not yet used as a reference.

Parameters
Societe$objsocObject third party
Task$objectObject task
Returns
string Next not used reference

Definition at line 156 of file mod_task_universal.php.


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