dolibarr 18.0.6
ModeleNumRefEvaluation Class Reference

Parent class to manage numbering of Evaluation. More...

Inheritance diagram for ModeleNumRefEvaluation:

Public Member Functions

 isEnabled ()
 Return if a module can be used or not.
 
 info ()
 Returns the default description of the numbering template.
 
 getExample ()
 Returns an example of numbering.
 
 canBeActivated ($object)
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
 
 getNextValue ($object)
 Returns next assigned value.
 
 getVersion ()
 Returns version of numbering module.
 

Detailed Description

Parent class to manage numbering of Evaluation.

Definition at line 67 of file modules_evaluation.php.

Member Function Documentation

◆ canBeActivated()

ModeleNumRefEvaluation::canBeActivated ( $object)

Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.

Parameters
Object$objectObject we need next value for
Returns
boolean false if conflict, true if ok

Reimplemented in mod_evaluation_standard.

Definition at line 118 of file modules_evaluation.php.

◆ getExample()

ModeleNumRefEvaluation::getExample ( )

Returns an example of numbering.

Returns
string Example

Reimplemented in mod_evaluation_advanced, and mod_evaluation_standard.

Definition at line 104 of file modules_evaluation.php.

◆ getNextValue()

ModeleNumRefEvaluation::getNextValue ( $object)

Returns next assigned value.

Parameters
Object$objectObject we need next value for
Returns
string Valeur

Reimplemented in mod_evaluation_advanced, and mod_evaluation_standard.

Definition at line 129 of file modules_evaluation.php.

◆ getVersion()

ModeleNumRefEvaluation::getVersion ( )

Returns version of numbering module.

Returns
string Valeur

Definition at line 140 of file modules_evaluation.php.

◆ info()

ModeleNumRefEvaluation::info ( )

Returns the default description of the numbering template.

Returns
string Descriptive text

Reimplemented in mod_evaluation_advanced, and mod_evaluation_standard.

Definition at line 92 of file modules_evaluation.php.

◆ isEnabled()

ModeleNumRefEvaluation::isEnabled ( )

Return if a module can be used or not.

Returns
boolean true if module can be used

Definition at line 82 of file modules_evaluation.php.


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