dolibarr  13.0.2
Public Member Functions | List of all members
mod_ticket_universal Class Reference

Classe du modele de numerotation de reference de projet Universal. More...

+ Inheritance diagram for mod_ticket_universal:
+ Collaboration diagram for mod_ticket_universal:

Public Member Functions

 info ()
 Returns the description of the numbering model. More...
 
 getExample ()
 Return an example of numbering. More...
 
 getNextValue ($objsoc, $ticket)
 Return next value. More...
 
- Public Member Functions inherited from ModeleNumRefTicket
 isEnabled ()
 Return if a module can be used or not. More...
 
 info ()
 Renvoi la description par defaut du modele de numerotation. 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, $project)
 Renvoi prochaine valeur attribuee. More...
 
 getVersion ()
 Renvoi version du module numerotation. More...
 

Detailed Description

Classe du modele de numerotation de reference de projet Universal.

Definition at line 30 of file mod_ticket_universal.php.

Member Function Documentation

mod_ticket_universal::getExample ( )

Return an example of numbering.

Returns
string Example

Definition at line 101 of file mod_ticket_universal.php.

References getNextValue().

mod_ticket_universal::getNextValue (   $objsoc,
  $ticket 
)

Return next value.

Parameters
Societe$objsocObject third party
Ticket$ticketObject ticket
Returns
string Value if OK, 0 if KO

Definition at line 123 of file mod_ticket_universal.php.

References dol_now(), and get_next_value().

Referenced by getExample().

mod_ticket_universal::info ( )

Returns the description of the numbering model.

Returns
string Texte descripif

Definition at line 60 of file mod_ticket_universal.php.


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