dolibarr  9.0.0
Public Member Functions | Public Attributes | List of all members
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. More...
 
 getExample ()
 Renvoi un exemple de numerotation. More...
 
 getNextValue ($objsoc, $propal)
 Return next value. More...
 
- Public Member Functions inherited from ModeleNumRefPropales
 isEnabled ()
 Return if a module can be used or not. More...
 
 info ()
 Renvoi la description par defaut du modele de numerotation. More...
 
 getExample ()
 Renvoi un exemple de numerotation. More...
 
 canBeActivated ()
 Test si les numeros deja en vigueur dans la base ne provoquent pas de de conflits qui empechera cette numerotation de fonctionner. More...
 
 getNextValue ($objsoc, $propal)
 Renvoi prochaine valeur attribuee. More...
 
 getVersion ()
 Renvoi version du module numerotation. More...
 

Public Attributes

 $version = 'dolibarr'
 Dolibarr version of the loaded document string.
 

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 ( )

Renvoi un exemple de numerotation.

Returns
string Example

Definition at line 105 of file mod_propale_saphir.php.

◆ 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

Definition at line 131 of file mod_propale_saphir.php.

◆ info()

mod_propale_saphir::info ( )

Return description of module.

Returns
string Texte descripif

Definition at line 65 of file mod_propale_saphir.php.


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