|
dolibarr
x.y.z
|
Class Actions of the module ticket. More...
Public Member Functions | |
| __construct ($db) | |
| Constructor. More... | |
| getInstanceDao () | |
| Instantiation of DAO class. More... | |
| fetch ($id=0, $ref='', $track_id='') | |
| Fetch object. More... | |
| getLibStatut ($mode=0) | |
| Print statut. More... | |
| getInfo ($id) | |
| Get ticket info. More... | |
| getTitle ($action='') | |
| Get action title. More... | |
| viewTicketOriginalMessage ($user, $action, $object) | |
| Show ticket original message. More... | |
| viewTicketMessages ($show_private, $show_user, $object) | |
| View html list of message for ticket. More... | |
| viewTicketTimelineMessages ($show_private, $show_user, Ticket $object) | |
| View list of message for ticket with timeline display. More... | |
| viewStatusActions (Ticket $object) | |
| Print html navbar with link to set ticket status. More... | |
| emailElementlist ($parameters, &$object, &$action, $hookmanager) | |
| Hook to add email element template. More... | |
Public Attributes | |
| $errno = 0 | |
| Numero de l'erreur. | |
Class Actions of the module ticket.
Definition at line 36 of file actions_ticket.class.php.
| ActionsTicket::__construct | ( | $db | ) |
| 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 439 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 116 of file actions_ticket.class.php.
| ActionsTicket::getInfo | ( | $id | ) |
Get ticket info.
| int | $id | Object id |
Definition at line 141 of file actions_ticket.class.php.
| ActionsTicket::getInstanceDao | ( | ) |
Instantiation of DAO class.
Definition at line 101 of file actions_ticket.class.php.
References db.
| ActionsTicket::getLibStatut | ( | $mode = 0 | ) |
Print statut.
| int | $mode | Display mode |
Definition at line 128 of file actions_ticket.class.php.
| ActionsTicket::getTitle | ( | $action = '' | ) |
Get action title.
| string | $action | Type of action |
Definition at line 156 of file actions_ticket.class.php.
| ActionsTicket::viewStatusActions | ( | Ticket | $object | ) |
Print html navbar with link to set ticket status.
Definition at line 393 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 262 of file actions_ticket.class.php.
| ActionsTicket::viewTicketOriginalMessage | ( | $user, | |
| $action, | |||
| $object | |||
| ) |
| 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 337 of file actions_ticket.class.php.