dolibarr 18.0.6
ModelNumRefReception Class Reference

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

Inheritance diagram for ModelNumRefReception:

Public Member Functions

 isEnabled ()
 Return if a model can be used or not.
 
 info ()
 Return default description of numbering model.
 
 getExample ()
 Returns numbering example.
 
 canBeActivated ()
 Test if existing numbers make problems with numbering.
 
 getNextValue ($objsoc, $reception)
 Returns next value assigned.
 
 getVersion ()
 Returns version of the numbering model.
 

Detailed Description

Parent Class of numbering models of sending receipts references.

Definition at line 60 of file modules_reception.php.

Member Function Documentation

◆ canBeActivated()

ModelNumRefReception::canBeActivated ( )

Test if existing numbers make problems with numbering.

Returns
boolean false if conflit, true if ok

Reimplemented in mod_reception_beryl.

Definition at line 106 of file modules_reception.php.

◆ getExample()

ModelNumRefReception::getExample ( )

Returns numbering example.

Returns
string Example

Reimplemented in mod_reception_beryl, and mod_reception_moonstone.

Definition at line 94 of file modules_reception.php.

◆ getNextValue()

ModelNumRefReception::getNextValue ( $objsoc,
$reception )

Returns next value assigned.

Parameters
Societe$objsocThird party object
Object$receptionReception object
Returns
string Value

Reimplemented in mod_reception_beryl, and mod_reception_moonstone.

Definition at line 118 of file modules_reception.php.

◆ getVersion()

ModelNumRefReception::getVersion ( )

Returns version of the numbering model.

Returns
string Value

Definition at line 129 of file modules_reception.php.

◆ info()

ModelNumRefReception::info ( )

Return default description of numbering model.

Returns
string text description

Reimplemented in mod_reception_beryl, and mod_reception_moonstone.

Definition at line 82 of file modules_reception.php.

◆ isEnabled()

ModelNumRefReception::isEnabled ( )

Return if a model can be used or not.

Returns
boolean true if model can be used

Definition at line 72 of file modules_reception.php.


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