dolibarr 18.0.6
ModeleNumRefPartnership Class Reference

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

Inheritance diagram for ModeleNumRefPartnership:

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 Partnership.

Definition at line 69 of file modules_partnership.php.

Member Function Documentation

◆ canBeActivated()

ModeleNumRefPartnership::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_partnership_standard.

Definition at line 117 of file modules_partnership.php.

◆ getExample()

ModeleNumRefPartnership::getExample ( )

Returns an example of numbering.

Returns
string Example

Reimplemented in mod_partnership_advanced, and mod_partnership_standard.

Definition at line 103 of file modules_partnership.php.

◆ getNextValue()

ModeleNumRefPartnership::getNextValue ( $object)

Returns next assigned value.

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

Reimplemented in mod_partnership_advanced, and mod_partnership_standard.

Definition at line 128 of file modules_partnership.php.

◆ getVersion()

ModeleNumRefPartnership::getVersion ( )

Returns version of numbering module.

Returns
string Valeur

Definition at line 139 of file modules_partnership.php.

◆ info()

ModeleNumRefPartnership::info ( )

Returns the default description of the numbering template.

Returns
string Descriptive text

Reimplemented in mod_partnership_advanced, and mod_partnership_standard.

Definition at line 91 of file modules_partnership.php.

◆ isEnabled()

ModeleNumRefPartnership::isEnabled ( )

Return if a module can be used or not.

Returns
boolean true if module can be used

Definition at line 81 of file modules_partnership.php.


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