dolibarr 18.0.6
mod_propale_saphir Class Reference

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

Inheritance diagram for mod_propale_saphir:
Collaboration diagram for mod_propale_saphir:

Public Member Functions

 info ()
 Return description of module.
 
 getExample ()
 Return an example of numbering.
 
 getNextValue ($objsoc, $propal)
 Return next value.
 
- Public Member Functions inherited from ModeleNumRefPropales
 isEnabled ()
 Return if a module can be used or not.
 
 canBeActivated ()
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
 
 getVersion ()
 Renvoi version du module numerotation.
 

Detailed Description

Class of file that contains the numbering module rules Saphir.

Definition at line 34 of file mod_propale_saphir.php.

Member Function Documentation

◆ getExample()

mod_propale_saphir::getExample ( )

Return an example of numbering.

Returns
string Example

Reimplemented from ModeleNumRefPropales.

Definition at line 106 of file mod_propale_saphir.php.

References getNextValue().

◆ getNextValue()

mod_propale_saphir::getNextValue ( $objsoc,
$propal )

Return next value.

Parameters
Societe$objsocObject third party
Propal$propalObject commercial proposal
Returns
string Value if OK, 0 if KO

Reimplemented from ModeleNumRefPropales.

Definition at line 131 of file mod_propale_saphir.php.

References dol_now(), get_next_value(), and getEntity().

Referenced by getExample().

◆ info()

mod_propale_saphir::info ( )

Return description of module.

Returns
string Descriptive text

Reimplemented from ModeleNumRefPropales.

Definition at line 65 of file mod_propale_saphir.php.


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