dolibarr 18.0.6
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.
 
 getExample ()
 Return an example of numbering.
 
 getNextValue ($objsoc, $ticket)
 Return next value.
 
- Public Member Functions inherited from ModeleNumRefTicket
 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

Classe du modele de numerotation de reference de projet Universal.

Definition at line 30 of file mod_ticket_universal.php.

Member Function Documentation

◆ getExample()

mod_ticket_universal::getExample ( )

Return an example of numbering.

Returns
string Example

Reimplemented from ModeleNumRefTicket.

Definition at line 101 of file mod_ticket_universal.php.

References getNextValue().

◆ 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

Reimplemented from ModeleNumRefTicket.

Definition at line 123 of file mod_ticket_universal.php.

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

Referenced by getExample().

◆ info()

mod_ticket_universal::info ( )

Returns the description of the numbering model.

Returns
string Descriptive text

Reimplemented from ModeleNumRefTicket.

Definition at line 60 of file mod_ticket_universal.php.

References getDolGlobalString().


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