dolibarr 18.0.6
ModeleNumRefTicket Class Reference

Classe mere des modeles de numerotation des references de projets. More...

Inheritance diagram for ModeleNumRefTicket:

Public Member Functions

 isEnabled ()
 Return if a module can be used or not.
 
 info ()
 Returns the default description of the numbering pattern.
 
 getExample ()
 Return an example of numbering.
 
 canBeActivated ()
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
 
 getNextValue ($objsoc, $ticket)
 Renvoi prochaine valeur attribuee.
 
 getVersion ()
 Renvoi version du module numerotation.
 

Detailed Description

Classe mere des modeles de numerotation des references de projets.

Definition at line 61 of file modules_ticket.php.

Member Function Documentation

◆ canBeActivated()

ModeleNumRefTicket::canBeActivated ( )

Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.

Returns
boolean false if conflict, true if ok

Reimplemented in mod_ticket_simple.

Definition at line 111 of file modules_ticket.php.

◆ getExample()

ModeleNumRefTicket::getExample ( )

Return an example of numbering.

Returns
string Example

Reimplemented in mod_ticket_simple, and mod_ticket_universal.

Definition at line 98 of file modules_ticket.php.

◆ getNextValue()

ModeleNumRefTicket::getNextValue ( $objsoc,
$ticket )

Renvoi prochaine valeur attribuee.

Parameters
Societe$objsocObject third party
Ticket$ticketObject ticket
Returns
string Valeur

Reimplemented in mod_ticket_simple, and mod_ticket_universal.

Definition at line 123 of file modules_ticket.php.

◆ getVersion()

ModeleNumRefTicket::getVersion ( )

Renvoi version du module numerotation.

Returns
string Valeur

Definition at line 134 of file modules_ticket.php.

◆ info()

ModeleNumRefTicket::info ( )

Returns the default description of the numbering pattern.

Returns
string Descriptive text

Reimplemented in mod_ticket_simple, and mod_ticket_universal.

Definition at line 86 of file modules_ticket.php.

◆ isEnabled()

ModeleNumRefTicket::isEnabled ( )

Return if a module can be used or not.

Returns
boolean true if module can be used

Definition at line 76 of file modules_ticket.php.


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