dolibarr  7.0.0-beta
Public Member Functions | List of all members
mod_arctic Class Reference

Class to manage numbering of intervention cards with rule Artic. More...

+ Inheritance diagram for mod_arctic:
+ Collaboration diagram for mod_arctic:

Public Member Functions

 info ()
 Renvoi la description du modele de numerotation. More...
 
 getExample ()
 Renvoi un exemple de numerotation. More...
 
 getNextValue ($objsoc=0, $object='')
 Return next free value. More...
 
 getNumRef ($objsoc, $objforref)
 Return next free value. More...
 
- Public Member Functions inherited from ModeleNumRefFicheinter
 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 ()
 Renvoi prochaine valeur attribuee. More...
 
 getVersion ()
 Renvoi version du module numerotation. More...
 

Detailed Description

Class to manage numbering of intervention cards with rule Artic.

Definition at line 33 of file mod_arctic.php.

Member Function Documentation

mod_arctic::getExample ( )

Renvoi un exemple de numerotation.

Returns
string Example

Definition at line 85 of file mod_arctic.php.

References ModeleNumRefFicheinter\getNextValue().

mod_arctic::getNextValue (   $objsoc = 0,
  $object = '' 
)

Return next free value.

Parameters
Societe$objsocObject thirdparty
Object$objectObject we need next value for
Returns
string Value if KO, <0 if KO

Definition at line 108 of file mod_arctic.php.

References get_next_value().

mod_arctic::getNumRef (   $objsoc,
  $objforref 
)

Return next free value.

Parameters
Societe$objsocObject third party
Object$objforrefObject for number to search
Returns
string Next free value

Definition at line 136 of file mod_arctic.php.

References ModeleNumRefFicheinter\getNextValue().

mod_arctic::info ( )

Renvoi la description du modele de numerotation.

Returns
string Texte descripif

Definition at line 45 of file mod_arctic.php.

References $form.


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