|
dolibarr
13.0.2
|
Class to manage numbering of intervention cards with rule Pacific. More...
Inheritance diagram for mod_pacific:
Collaboration diagram for mod_pacific:Public Member Functions | |
| info () | |
| Return description of numbering module. More... | |
| getExample () | |
| Return an example of numbering. More... | |
| canBeActivated () | |
| Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. More... | |
| getNextValue ($objsoc=0, $object= '') | |
| Return next free value. More... | |
| getNumRef ($objsoc, $objforref) | |
| Return next free value. More... | |
Public Member Functions inherited from ModeleNumRefFicheinter | |
| isEnabled () | |
| Return if a module can be used or not. More... | |
| info () | |
| Returns the default description of the numbering template. More... | |
| getExample () | |
| Return a numbering example. More... | |
| canBeActivated () | |
| Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. More... | |
| getNextValue () | |
| Return the next assigned value. More... | |
| getVersion () | |
| Return the version of the numbering module. More... | |
Class to manage numbering of intervention cards with rule Pacific.
Definition at line 31 of file mod_pacific.php.
| mod_pacific::canBeActivated | ( | ) |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
Definition at line 86 of file mod_pacific.php.
References $resql.
| mod_pacific::getExample | ( | ) |
Return an example of numbering.
Definition at line 75 of file mod_pacific.php.
| mod_pacific::getNextValue | ( | $objsoc = 0, |
|
$object = '' |
|||
| ) |
Return next free value.
| Societe | $objsoc | Object thirdparty |
| Object | $object | Object we need next value for |
Definition at line 123 of file mod_pacific.php.
References $resql.
| mod_pacific::getNumRef | ( | $objsoc, | |
| $objforref | |||
| ) |
Return next free value.
| Societe | $objsoc | Object third party |
| Object | $objforref | Object for number to search |
Definition at line 159 of file mod_pacific.php.
References ModeleNumRefFicheinter\getNextValue().
| mod_pacific::info | ( | ) |
Return description of numbering module.
Definition at line 64 of file mod_pacific.php.