| 
    dolibarr 18.0.8
    
   | 
 
Class to manage numbering of intervention cards with rule Pacific. More...


Public Member Functions | |
| info () | |
| Return description of numbering module.   | |
| getExample () | |
| Return an example of numbering.   | |
| canBeActivated () | |
| Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.   | |
| getNextValue ($objsoc=0, $object='') | |
| Return next free value.   | |
| getNumRef ($objsoc, $objforref) | |
| Return next free value.   | |
  Public Member Functions inherited from ModeleNumRefFicheinter | |
| isEnabled () | |
| Return if a module can be used or not.   | |
| getVersion () | |
| Return the version of the numbering module.   | |
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.
Reimplemented from ModeleNumRefFicheinter.
Definition at line 86 of file mod_pacific.php.
| mod_pacific::getExample | ( | ) | 
Return an example of numbering.
Reimplemented from ModeleNumRefFicheinter.
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 | 
Reimplemented from ModeleNumRefFicheinter.
Definition at line 125 of file mod_pacific.php.
Referenced by getNumRef().
| mod_pacific::getNumRef | ( | $objsoc, | |
| $objforref ) | 
Return next free value.
| Societe | $objsoc | Object third party | 
| Object | $objforref | Object for number to search | 
Definition at line 166 of file mod_pacific.php.
References getNextValue().
| mod_pacific::info | ( | ) | 
Return description of numbering module.
Reimplemented from ModeleNumRefFicheinter.
Definition at line 64 of file mod_pacific.php.