dolibarr  21.0.0-alpha
Public Member Functions | List of all members
mod_ticket_universal Class Reference

Class to manage the numbering module Universal for Ticket references. More...

Inheritance diagram for mod_ticket_universal:
Inheritance graph
Collaboration diagram for mod_ticket_universal:
Collaboration graph

Public Member Functions

 info ($langs)
 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 CommonNumRefGenerator
 getNom ($langs)
 Return model name. More...
 getName ($langs)
 Return model name. More...
 isEnabled ()
 Return if a module can be used or not. More...
 canBeActivated ($object)
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. More...
 getVersion ()
 Returns version of numbering module. More...

Detailed Description

Class to manage the numbering module Universal for Ticket references.

Definition at line 30 of file mod_ticket_universal.php.

Member Function Documentation

◆ getExample()

mod_ticket_universal::getExample ( )

Return an example of numbering.

string Example

Definition at line 102 of file mod_ticket_universal.php.

◆ getNextValue()

mod_ticket_universal::getNextValue (   $objsoc,

Return next value.

Societe$objsocObject third party
Ticket$ticketObject ticket
string|0 Next value if OK, 0 if KO

Definition at line 124 of file mod_ticket_universal.php.

◆ info()

mod_ticket_universal::info (   $langs)

Returns the description of the numbering model.

Translate$langsLang object to use for output
string Descriptive text

Reimplemented from CommonNumRefGenerator.

Definition at line 61 of file mod_ticket_universal.php.

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