dolibarr  x.y.z
Public Member Functions | List of all members
ModeleNumRefSupplierProposal Class Reference

Classe mere des modeles de numerotation des references de propales. More...

Inheritance diagram for ModeleNumRefSupplierProposal:
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 ()
 Return an example of numbering. More...
 
 canBeActivated ()
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. More...
 
 getNextValue ($objsoc, $supplier_proposal)
 Renvoi prochaine valeur attribuee. More...
 
 getVersion ()
 Renvoi version du module numerotation. More...
 

Detailed Description

Classe mere des modeles de numerotation des references de propales.

Definition at line 70 of file modules_supplier_proposal.php.

Member Function Documentation

◆ canBeActivated()

ModeleNumRefSupplierProposal::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_supplier_proposal_marbre.

Definition at line 117 of file modules_supplier_proposal.php.

◆ getExample()

ModeleNumRefSupplierProposal::getExample ( )

Return an example of numbering.

Returns
string Example

Reimplemented in mod_supplier_proposal_saphir, and mod_supplier_proposal_marbre.

Definition at line 104 of file modules_supplier_proposal.php.

◆ getNextValue()

ModeleNumRefSupplierProposal::getNextValue (   $objsoc,
  $supplier_proposal 
)

Renvoi prochaine valeur attribuee.

Parameters
Societe$objsocObject third party
SupplierProposal$supplier_proposalObject commercial proposal
Returns
string Valeur

Reimplemented in mod_supplier_proposal_saphir, and mod_supplier_proposal_marbre.

Definition at line 129 of file modules_supplier_proposal.php.

◆ getVersion()

ModeleNumRefSupplierProposal::getVersion ( )

Renvoi version du module numerotation.

Returns
string Valeur

Definition at line 140 of file modules_supplier_proposal.php.

◆ info()

ModeleNumRefSupplierProposal::info ( )

Returns the default description of the numbering pattern.

Returns
string Descriptive text

Reimplemented in mod_supplier_proposal_saphir, and mod_supplier_proposal_marbre.

Definition at line 92 of file modules_supplier_proposal.php.

◆ isEnabled()

ModeleNumRefSupplierProposal::isEnabled ( )

Return if a module can be used or not.

Returns
boolean true if module can be used

Definition at line 82 of file modules_supplier_proposal.php.


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