dolibarr 21.0.0-beta
ModeleNumRefFicheinter Class Reference

Parent class numbering models of intervention sheet references. More...

Inheritance diagram for ModeleNumRefFicheinter:
Collaboration diagram for ModeleNumRefFicheinter:

Public Member Functions

 getNextValue ($objsoc='', $object='')
 Return next free value.
 
 getExample ()
 Return an example of numbering.
 
- Public Member Functions inherited from CommonNumRefGenerator
 getNom ($langs)
 Return model name.
 
 getName ($langs)
 Return model name.
 
 isEnabled ()
 Return if a module can be used or not.
 
 info ($langs)
 Returns the default description of the numbering template.
 
 canBeActivated ($object)
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
 
 getVersion ()
 Returns version of numbering module.
 

Detailed Description

Parent class numbering models of intervention sheet references.

Definition at line 79 of file modules_fichinter.php.

Member Function Documentation

◆ getExample()

ModeleNumRefFicheinter::getExample ( )
abstract

Return an example of numbering.

Returns
string Example

Reimplemented in mod_arctic, and mod_pacific.

◆ getNextValue()

ModeleNumRefFicheinter::getNextValue ( $objsoc = '',
$object = '' )
abstract

Return next free value.

Parameters
Societe | string$objsocObject thirdparty
Fichinter | string$objectObject we need next value for
Returns
string|int<-1,0> Next value if OK, <=0 if KO

Reimplemented in mod_arctic, and mod_pacific.


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