dolibarr 18.0.6
ModeleNumRefProjects Class Reference

Classe mere des modeles de numerotation des references de projets. More...

Inheritance diagram for ModeleNumRefProjects:

Public Member Functions

 isEnabled ()
 Return if a module can be used or not.
 
 info ()
 Returns the default description of the numbering pattern.
 
 getExample ()
 Return an example of numbering.
 
 canBeActivated ()
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
 
 getNextValue ($objsoc, $project)
 Renvoi prochaine valeur attribuee.
 
 getVersion ()
 Renvoi version du module numerotation.
 

Detailed Description

Classe mere des modeles de numerotation des references de projets.

Definition at line 121 of file modules_project.php.

Member Function Documentation

◆ canBeActivated()

ModeleNumRefProjects::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 in mod_project_simple.

Definition at line 173 of file modules_project.php.

◆ getExample()

ModeleNumRefProjects::getExample ( )

Return an example of numbering.

Returns
string Example

Reimplemented in mod_project_simple, and mod_project_universal.

Definition at line 160 of file modules_project.php.

◆ getNextValue()

ModeleNumRefProjects::getNextValue ( $objsoc,
$project )

Renvoi prochaine valeur attribuee.

Parameters
Societe$objsocObject third party
Project$projectObject project
Returns
string Valeur

Reimplemented in mod_project_simple, and mod_project_universal.

Definition at line 185 of file modules_project.php.

◆ getVersion()

ModeleNumRefProjects::getVersion ( )

Renvoi version du module numerotation.

Returns
string Valeur

Definition at line 196 of file modules_project.php.

◆ info()

ModeleNumRefProjects::info ( )

Returns the default description of the numbering pattern.

Returns
string Descriptive text

Reimplemented in mod_project_simple, and mod_project_universal.

Definition at line 148 of file modules_project.php.

◆ isEnabled()

ModeleNumRefProjects::isEnabled ( )

Return if a module can be used or not.

Returns
boolean true if module can be used

Definition at line 138 of file modules_project.php.


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