dolibarr  17.0.0
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:
Inheritance graph
[legend]
Collaboration diagram for mod_project_universal:
Collaboration graph
[legend]

Public Member Functions

 info ()
 Returns the description of the numbering model. More...
 
 getExample ()
 Return an example of numbering. 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...
 
 canBeActivated ()
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. 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

◆ getExample()

mod_project_universal::getExample ( )

Return an example of numbering.

Returns
string Example

Reimplemented from ModeleNumRefProjects.

Definition at line 108 of file mod_project_universal.php.

◆ 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

Reimplemented from ModeleNumRefProjects.

Definition at line 130 of file mod_project_universal.php.

◆ info()

mod_project_universal::info ( )

Returns the description of the numbering model.

Returns
string Texte descripif

Reimplemented from ModeleNumRefProjects.

Definition at line 67 of file mod_project_universal.php.

◆ project_get_num()

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 162 of file mod_project_universal.php.


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