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

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

+ Inheritance diagram for mod_project_universal:
+ Collaboration diagram for mod_project_universal:

Public Member Functions

 info ()
 Renvoi la description du modele de numerotation. More...
 
 getExample ()
 Renvoi un exemple de numerotation. More...
 
 getNextValue ($objsoc, $project)
 Return next value. More...
 
 project_get_num ($objsoc=0, $project='')
 Return next reference not yet used as a reference. More...
 
- Public Member Functions inherited from ModeleNumRefProjects
 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...
 

Detailed Description

Classe du modele de numerotation de reference de projet Universal.

Definition at line 31 of file mod_project_universal.php.

Member Function Documentation

mod_project_universal::getExample ( )

Renvoi un exemple de numerotation.

Returns
string Example

Definition at line 85 of file mod_project_universal.php.

References getNextValue().

mod_project_universal::getNextValue (   $objsoc,
  $project 
)

Return next value.

Parameters
Societe$objsocObject third party
Project$projectObject project
Returns
string Value if OK, 0 if KO

Definition at line 108 of file mod_project_universal.php.

References dol_now(), and get_next_value().

Referenced by getExample(), and project_get_num().

mod_project_universal::info ( )

Renvoi la description du modele de numerotation.

Returns
string Texte descripif

Definition at line 44 of file mod_project_universal.php.

References $form.

mod_project_universal::project_get_num (   $objsoc = 0,
  $project = '' 
)

Return next reference not yet used as a reference.

Parameters
Societe$objsocObject third party
Project$projectObject project
Returns
string Next not used reference

Definition at line 137 of file mod_project_universal.php.

References getNextValue().


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