dolibarr  18.0.0-alpha
Public Member Functions | List of all members
ModeleNumRefCommandes Class Reference

Parent class to manage numbering of Sale Orders. More...

Inheritance diagram for ModeleNumRefCommandes:
Inheritance graph
[legend]

Public Member Functions

 isEnabled ()
 Return if a module can be used or not. More...
 
 info ()
 Returns the default description of the numbering pattern. More...
 
 getExample ()
 Renvoie un exemple de numerotation. More...
 
 canBeActivated ()
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. More...
 
 getNextValue ($objsoc, $object)
 Returns next assigned value. More...
 
 getVersion ()
 Returns version of numbering module. More...
 

Detailed Description

Parent class to manage numbering of Sale Orders.

Definition at line 69 of file modules_commande.php.

Member Function Documentation

◆ canBeActivated()

ModeleNumRefCommandes::canBeActivated ( )

Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.

Returns
boolean false if conflict, true if ok

Reimplemented in mod_commande_marbre.

Definition at line 116 of file modules_commande.php.

◆ getExample()

ModeleNumRefCommandes::getExample ( )

Renvoie un exemple de numerotation.

Returns
string Example

Reimplemented in mod_commande_saphir, and mod_commande_marbre.

Definition at line 103 of file modules_commande.php.

◆ getNextValue()

ModeleNumRefCommandes::getNextValue (   $objsoc,
  $object 
)

Returns next assigned value.

Parameters
Societe$objsocObject thirdparty
Object$objectObject we need next value for
Returns
string Valeur

Reimplemented in mod_commande_marbre, and mod_commande_saphir.

Definition at line 128 of file modules_commande.php.

◆ getVersion()

ModeleNumRefCommandes::getVersion ( )

Returns version of numbering module.

Returns
string Valeur

Definition at line 139 of file modules_commande.php.

◆ info()

ModeleNumRefCommandes::info ( )

Returns the default description of the numbering pattern.

Returns
string Descriptive text

Reimplemented in mod_commande_marbre, and mod_commande_saphir.

Definition at line 91 of file modules_commande.php.

◆ isEnabled()

ModeleNumRefCommandes::isEnabled ( )

Return if a module can be used or not.

Returns
boolean true if module can be used

Definition at line 81 of file modules_commande.php.


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