dolibarr  17.0.0
Public Member Functions | List of all members
ModeleNumRefProjects Class Reference

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

Inheritance diagram for ModeleNumRefProjects:
Inheritance graph
[legend]

Public Member Functions

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

Detailed Description

Classe mere des modeles de numerotation des references de projets.

Definition at line 123 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 175 of file modules_project.php.

◆ getExample()

ModeleNumRefProjects::getExample ( )

Return an example of numbering.

Returns
string Example

Reimplemented in mod_project_universal, and mod_project_simple.

Definition at line 162 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_universal, and mod_project_simple.

Definition at line 187 of file modules_project.php.

◆ getVersion()

ModeleNumRefProjects::getVersion ( )

Renvoi version du module numerotation.

Returns
string Valeur

Definition at line 198 of file modules_project.php.

◆ info()

ModeleNumRefProjects::info ( )

Renvoi la description par defaut du modele de numerotation.

Returns
string Texte descripif

Reimplemented in mod_project_universal, and mod_project_simple.

Definition at line 150 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 140 of file modules_project.php.


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