dolibarr  18.0.0-alpha
Public Member Functions | List of all members
ModeleNumRefRecruitmentJobPosition Class Reference

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

Inheritance diagram for ModeleNumRefRecruitmentJobPosition:
Inheritance graph
[legend]

Public Member Functions

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

Detailed Description

Parent class to manage numbering of RecruitmentJobPosition.

Definition at line 105 of file modules_recruitmentjobposition.php.

Member Function Documentation

◆ canBeActivated()

ModeleNumRefRecruitmentJobPosition::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_recruitmentjobposition_standard.

Definition at line 153 of file modules_recruitmentjobposition.php.

◆ getExample()

ModeleNumRefRecruitmentJobPosition::getExample ( )

Returns an example of numbering.

Returns
string Example

Reimplemented in mod_recruitmentjobposition_advanced, and mod_recruitmentjobposition_standard.

Definition at line 139 of file modules_recruitmentjobposition.php.

◆ getNextValue()

ModeleNumRefRecruitmentJobPosition::getNextValue (   $object)

Returns next assigned value.

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

Reimplemented in mod_recruitmentjobposition_advanced, and mod_recruitmentjobposition_standard.

Definition at line 164 of file modules_recruitmentjobposition.php.

◆ getVersion()

ModeleNumRefRecruitmentJobPosition::getVersion ( )

Returns version of numbering module.

Returns
string Valeur

Definition at line 175 of file modules_recruitmentjobposition.php.

◆ info()

ModeleNumRefRecruitmentJobPosition::info ( )

Returns the default description of the numbering template.

Returns
string Descriptive text

Reimplemented in mod_recruitmentjobposition_advanced, and mod_recruitmentjobposition_standard.

Definition at line 127 of file modules_recruitmentjobposition.php.

◆ isEnabled()

ModeleNumRefRecruitmentJobPosition::isEnabled ( )

Return if a module can be used or not.

Returns
boolean true if module can be used

Definition at line 117 of file modules_recruitmentjobposition.php.


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