dolibarr 18.0.6
ModeleNumRefTask Class Reference

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

Inheritance diagram for ModeleNumRefTask:

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 67 of file modules_task.php.

Member Function Documentation

◆ canBeActivated()

ModeleNumRefTask::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_task_simple.

Definition at line 114 of file modules_task.php.

◆ getExample()

ModeleNumRefTask::getExample ( )

Return an example of numbering.

Returns
string Example

Reimplemented in mod_task_simple, and mod_task_universal.

Definition at line 101 of file modules_task.php.

◆ getNextValue()

ModeleNumRefTask::getNextValue ( $objsoc,
$project )

Renvoi prochaine valeur attribuee.

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

Reimplemented in mod_task_simple, and mod_task_universal.

Definition at line 126 of file modules_task.php.

◆ getVersion()

ModeleNumRefTask::getVersion ( )

Renvoi version du module numerotation.

Returns
string Valeur

Definition at line 137 of file modules_task.php.

◆ info()

ModeleNumRefTask::info ( )

Returns the default description of the numbering pattern.

Returns
string Descriptive text

Reimplemented in mod_task_simple, and mod_task_universal.

Definition at line 89 of file modules_task.php.

◆ isEnabled()

ModeleNumRefTask::isEnabled ( )

Return if a module can be used or not.

Returns
boolean true if module can be used

Definition at line 79 of file modules_task.php.


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