|
dolibarr 18.0.8
|
Class Actions of the module ticket. More...
Public Member Functions | |
| __construct ($db) | |
| Constructor. | |
| getInstanceDao () | |
| Instantiation of DAO class. | |
| fetch ($id=0, $ref='', $track_id='') | |
| Fetch object. | |
| getLibStatut ($mode=0) | |
| Print statut. | |
| getInfo ($id) | |
| Get ticket info. | |
| getTitle ($action='') | |
| Get action title. | |
| viewTicketOriginalMessage ($user, $action, $object) | |
| Show ticket original message. | |
| viewTicketMessages ($show_private, $show_user, $object) | |
| View html list of message for ticket. | |
| viewTicketTimelineMessages ($show_private, $show_user, Ticket $object) | |
| View list of message for ticket with timeline display. | |
| viewStatusActions (Ticket $object) | |
| Print html navbar with link to set ticket status. | |
| emailElementlist ($parameters, &$object, &$action, $hookmanager) | |
| Hook to add email element template. | |
Public Attributes | |
| $errno = 0 | |
| Numero de l'erreur. | |
Class Actions of the module ticket.
Definition at line 37 of file actions_ticket.class.php.
| ActionsTicket::__construct | ( | $db | ) |
Constructor.
Definition at line 92 of file actions_ticket.class.php.
| ActionsTicket::emailElementlist | ( | $parameters, | |
| & | $object, | ||
| & | $action, | ||
| $hookmanager ) |
Hook to add email element template.
| array | $parameters | Parameters |
| Ticket | $object | Object for action |
| string | $action | Action string |
| HookManager | $hookmanager | Hookmanager object |
Definition at line 448 of file actions_ticket.class.php.
| ActionsTicket::fetch | ( | $id = 0, | |
| $ref = '', | |||
| $track_id = '' ) |
Fetch object.
| int | $id | ID of ticket |
| string | $ref | Reference of ticket |
| string | $track_id | Track ID of ticket (for public area) |
Definition at line 117 of file actions_ticket.class.php.
References getInstanceDao().
| ActionsTicket::getInfo | ( | $id | ) |
Get ticket info.
| int | $id | Object id |
Definition at line 142 of file actions_ticket.class.php.
References description, and getInstanceDao().
| ActionsTicket::getInstanceDao | ( | ) |
Instantiation of DAO class.
Definition at line 102 of file actions_ticket.class.php.
Referenced by fetch(), getInfo(), and getLibStatut().
| ActionsTicket::getLibStatut | ( | $mode = 0 | ) |
Print statut.
| int | $mode | Display mode |
Definition at line 129 of file actions_ticket.class.php.
References getInstanceDao().
| ActionsTicket::getTitle | ( | $action = '' | ) |
Get action title.
| string | $action | Type of action |
Definition at line 157 of file actions_ticket.class.php.
| ActionsTicket::viewStatusActions | ( | Ticket | $object | ) |
Print html navbar with link to set ticket status.
Definition at line 402 of file actions_ticket.class.php.
| ActionsTicket::viewTicketMessages | ( | $show_private, | |
| $show_user, | |||
| $object ) |
View html list of message for ticket.
| boolean | $show_private | Show private messages |
| boolean | $show_user | Show user who make action |
| Ticket | $object | Object ticket |
Definition at line 263 of file actions_ticket.class.php.
References dol_print_error(), GETPOST(), img_picto(), and viewTicketOriginalMessage().
| ActionsTicket::viewTicketOriginalMessage | ( | $user, | |
| $action, | |||
| $object ) |
Show ticket original message.
Definition at line 182 of file actions_ticket.class.php.
References dol_htmlwithnojs(), dol_nl2br(), dol_textishtml(), getDolGlobalString(), GETPOST(), and img_edit().
Referenced by viewTicketMessages().
| ActionsTicket::viewTicketTimelineMessages | ( | $show_private, | |
| $show_user, | |||
| Ticket | $object ) |
View list of message for ticket with timeline display.
| boolean | $show_private | Show private messages |
| boolean | $show_user | Show user who make action |
| Ticket | $object | Object ticket |
Definition at line 346 of file actions_ticket.class.php.
References dol_print_date(), and GETPOST().