dolibarr 18.0.6
ModeleNumRefPropales Class Reference

Parent class for numbering rules of proposals. More...

Inheritance diagram for ModeleNumRefPropales:

Public Member Functions

 isEnabled ()
 Return if a module can be used or not.
 
 info ()
 Returns the default description of the numbering pattern.
 
 getExample ()
 Return an example of numbering.
 
 canBeActivated ()
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
 
 getNextValue ($objsoc, $propal)
 Renvoi prochaine valeur attribuee.
 
 getVersion ()
 Renvoi version du module numerotation.
 

Detailed Description

Parent class for numbering rules of proposals.

Definition at line 87 of file modules_propale.php.

Member Function Documentation

◆ canBeActivated()

ModeleNumRefPropales::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_propale_marbre.

Definition at line 137 of file modules_propale.php.

◆ getExample()

ModeleNumRefPropales::getExample ( )

Return an example of numbering.

Returns
string Example

Reimplemented in mod_propale_marbre, and mod_propale_saphir.

Definition at line 124 of file modules_propale.php.

◆ getNextValue()

ModeleNumRefPropales::getNextValue ( $objsoc,
$propal )

Renvoi prochaine valeur attribuee.

Parameters
Societe$objsocObject third party
Propal$propalObject commercial proposal
Returns
string Valeur

Reimplemented in mod_propale_marbre, and mod_propale_saphir.

Definition at line 149 of file modules_propale.php.

◆ getVersion()

ModeleNumRefPropales::getVersion ( )

Renvoi version du module numerotation.

Returns
string Valeur

Definition at line 160 of file modules_propale.php.

◆ info()

ModeleNumRefPropales::info ( )

Returns the default description of the numbering pattern.

Returns
string Descriptive text

Reimplemented in mod_propale_marbre, and mod_propale_saphir.

Definition at line 112 of file modules_propale.php.

◆ isEnabled()

ModeleNumRefPropales::isEnabled ( )

Return if a module can be used or not.

Returns
boolean true if module can be used

Definition at line 102 of file modules_propale.php.


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