dolibarr  19.0.0-dev
Public Member Functions | List of all members
ModeleNumRefTicket Class Reference

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

Inheritance diagram for ModeleNumRefTicket:
Inheritance graph
[legend]

Public Member Functions

 isEnabled ()
 Return if a module can be used or not. More...
 
 info ()
 Returns the default description of the numbering pattern. 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, $ticket)
 Renvoi prochaine valeur attribuee. More...
 
 getVersion ()
 Renvoi version du module numerotation. More...
 

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_universal, and mod_ticket_simple.

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_universal, and mod_ticket_simple.

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_universal, and mod_ticket_simple.

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: