| 
    dolibarr
    x.y.z
    
   | 
 
Parent class for all contract numbering modules. More...

Public Member Functions | |
| isEnabled () | |
| Return if a module can be used or not.  More... | |
| info () | |
| Return default description of numbering model.  More... | |
| getExample () | |
| Return numbering example.  More... | |
| canBeActivated () | |
| Test if existing numbers make problems with numbering.  More... | |
| getNextValue ($objsoc, $contract) | |
| Return next value.  More... | |
| getVersion () | |
| Return numbering version module.  More... | |
Parent class for all contract numbering modules.
Definition at line 71 of file modules_contract.php.
| ModelNumRefContracts::canBeActivated | ( | ) | 
Test if existing numbers make problems with numbering.
Reimplemented in mod_contract_serpis.
Definition at line 117 of file modules_contract.php.
| ModelNumRefContracts::getExample | ( | ) | 
Return numbering example.
Reimplemented in mod_contract_serpis, and mod_contract_magre.
Definition at line 105 of file modules_contract.php.
| ModelNumRefContracts::getNextValue | ( | $objsoc, | |
| $contract | |||
| ) | 
Return next value.
| Societe | $objsoc | third party object | 
| Object | $contract | contract object | 
Reimplemented in mod_contract_serpis, mod_contract_olive, and mod_contract_magre.
Definition at line 129 of file modules_contract.php.
| ModelNumRefContracts::getVersion | ( | ) | 
Return numbering version module.
Definition at line 140 of file modules_contract.php.
| ModelNumRefContracts::info | ( | ) | 
Return default description of numbering model.
Reimplemented in mod_contract_serpis, mod_contract_olive, and mod_contract_magre.
Definition at line 93 of file modules_contract.php.
| ModelNumRefContracts::isEnabled | ( | ) | 
Return if a module can be used or not.
Definition at line 83 of file modules_contract.php.