dolibarr 21.0.0-alpha
mod_supplier_proposal_saphir Class Reference

Class of file that contains the numbering module rules Saphir. More...

Inheritance diagram for mod_supplier_proposal_saphir:
Collaboration diagram for mod_supplier_proposal_saphir:

Public Member Functions

 info ($langs)
 Return description of module.
 
 getExample ()
 Return an example of numbering.
 
 getNextValue ($objsoc, $supplier_proposal)
 Return next value.
 
- 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.
 
 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

Class of file that contains the numbering module rules Saphir.

Definition at line 35 of file mod_supplier_proposal_saphir.php.

Member Function Documentation

◆ getExample()

mod_supplier_proposal_saphir::getExample ( )

Return an example of numbering.

Returns
string Example

Reimplemented from ModeleNumRefSupplierProposal.

Definition at line 110 of file mod_supplier_proposal_saphir.php.

References getNextValue().

◆ getNextValue()

mod_supplier_proposal_saphir::getNextValue ( $objsoc,
$supplier_proposal )

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 from ModeleNumRefSupplierProposal.

Definition at line 132 of file mod_supplier_proposal_saphir.php.

References get_next_value(), and getDolGlobalString().

Referenced by getExample().

◆ info()

mod_supplier_proposal_saphir::info ( $langs)

Return description of module.

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

Reimplemented from CommonNumRefGenerator.

Definition at line 67 of file mod_supplier_proposal_saphir.php.

References getDolGlobalString().


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