dolibarr 18.0.6
|
Parent class to manage numbering of MyObject. More...
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. | |
Parent class to manage numbering of MyObject.
Definition at line 105 of file modules_myobject.php.
ModeleNumRefMyObject::canBeActivated | ( | $object | ) |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
Object | $object | Object we need next value for |
Reimplemented in mod_myobject_standard.
Definition at line 153 of file modules_myobject.php.
ModeleNumRefMyObject::getExample | ( | ) |
Returns an example of numbering.
Reimplemented in mod_myobject_advanced, and mod_myobject_standard.
Definition at line 139 of file modules_myobject.php.
ModeleNumRefMyObject::getNextValue | ( | $object | ) |
Returns next assigned value.
Object | $object | Object we need next value for |
Reimplemented in mod_myobject_advanced, and mod_myobject_standard.
Definition at line 164 of file modules_myobject.php.
ModeleNumRefMyObject::getVersion | ( | ) |
Returns version of numbering module.
Definition at line 175 of file modules_myobject.php.
ModeleNumRefMyObject::info | ( | ) |
Returns the default description of the numbering template.
Reimplemented in mod_myobject_advanced, and mod_myobject_standard.
Definition at line 127 of file modules_myobject.php.
ModeleNumRefMyObject::isEnabled | ( | ) |
Return if a module can be used or not.
Definition at line 117 of file modules_myobject.php.