dolibarr 21.0.0-alpha
ModeleNumRefPropales Class Reference

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

Inheritance diagram for ModeleNumRefPropales:
Collaboration diagram for ModeleNumRefPropales:

Public Member Functions

 getNextValue ($objsoc, $propal)
 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 for numbering rules of proposals.

Definition at line 99 of file modules_propale.php.

Member Function Documentation

◆ getExample()

ModeleNumRefPropales::getExample ( )
abstract

Return an example of numbering.

Returns
string Example

Reimplemented in mod_propale_marbre, and mod_propale_saphir.

◆ getNextValue()

ModeleNumRefPropales::getNextValue ( $objsoc,
$propal )
abstract

Return next value.

Parameters
Societe$objsocObject third party
Propal$propalObject commercial proposal
Returns
string|int<-1,0> Next value, <=0 if KO

Reimplemented in mod_propale_marbre, and mod_propale_saphir.


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