dolibarr 21.0.0-alpha
ModelNumRefReception Class Reference

Parent Class of numbering models of sending receipts references. More...

Inheritance diagram for ModelNumRefReception:
Collaboration diagram for ModelNumRefReception:

Public Member Functions

 getNextValue ($objsoc, $reception)
 Return next 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 of numbering models of sending receipts references.

Definition at line 76 of file modules_reception.php.

Member Function Documentation

◆ getExample()

ModelNumRefReception::getExample ( )
abstract

Return an example of numbering.

Returns
string Example

Reimplemented in mod_reception_beryl, and mod_reception_moonstone.

◆ getNextValue()

ModelNumRefReception::getNextValue ( $objsoc,
$reception )
abstract

Return next value.

Parameters
Societe$objsocThird party object
?Reception$receptionReception object
Returns
string|int<-1,0> Value if OK, -1 if KO

Reimplemented in mod_reception_beryl, and mod_reception_moonstone.


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