dolibarr  21.0.0-alpha
Public Member Functions | List of all members
mod_reception_moonstone Class Reference

Class to manage reception numbering rules Moonstone. More...

Inheritance diagram for mod_reception_moonstone:
Inheritance graph
[legend]
Collaboration diagram for mod_reception_moonstone:
Collaboration graph
[legend]

Public Member Functions

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

Detailed Description

Class to manage reception numbering rules Moonstone.

Definition at line 31 of file mod_reception_moonstone.php.

Member Function Documentation

◆ getExample()

mod_reception_moonstone::getExample ( )

Return numbering example.

Returns
string Example

Definition at line 79 of file mod_reception_moonstone.php.

◆ getNextValue()

mod_reception_moonstone::getNextValue (   $objsoc,
  $reception 
)

Return next value.

Parameters
Societe$objsocThird party object
Reception | null$receptionReception object
Returns
string|0 Value if OK, 0 if KO

Definition at line 104 of file mod_reception_moonstone.php.

◆ info()

mod_reception_moonstone::info (   $langs)

Return default description of numbering model.

Parameters
Translate$langsLang object to use for output
Returns
string Descriptive text

Reimplemented from CommonNumRefGenerator.

Definition at line 43 of file mod_reception_moonstone.php.


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