dolibarr 21.0.0-beta
ModeleNumRefSupplierProposal Class Reference

Parent class of the Proposal numbering model classes. More...

Inheritance diagram for ModeleNumRefSupplierProposal:
Collaboration diagram for ModeleNumRefSupplierProposal:

Public Member Functions

 getNextValue ($objsoc, $supplier_proposal)
 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 of the Proposal numbering model classes.

Definition at line 82 of file modules_supplier_proposal.php.

Member Function Documentation

◆ getExample()

ModeleNumRefSupplierProposal::getExample ( )
abstract

Return an example of numbering.

Returns
string Example

Reimplemented in mod_supplier_proposal_marbre, and mod_supplier_proposal_saphir.

◆ getNextValue()

ModeleNumRefSupplierProposal::getNextValue ( $objsoc,
$supplier_proposal )
abstract

Return next value.

Parameters
Societe$objsocObject third party
?SupplierProposal$supplier_proposalObject commercial proposal
Returns
string|int<-1,0> Next value if OK, -1 if KO

Reimplemented in mod_supplier_proposal_marbre, and mod_supplier_proposal_saphir.


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