You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
416 B
PHP
17 lines
416 B
PHP
<?php
|
|
|
|
namespace Controllers\Tickets;
|
|
|
|
use BusinessLogic\Tickets\TicketRetriever;
|
|
|
|
|
|
class TicketController {
|
|
function get($id) {
|
|
global $applicationContext, $hesk_settings, $userContext;
|
|
|
|
/* @var $ticketRetriever TicketRetriever */
|
|
$ticketRetriever = $applicationContext->get['TicketRetriever'];
|
|
|
|
output($ticketRetriever->getTicketById($id, $hesk_settings, $userContext));
|
|
}
|
|
} |