opensupports/server/controllers/staff.php

29 lines
1.3 KiB
PHP
Raw Normal View History

<?php
require_once 'staff/get.php';
require_once 'staff/assign-ticket.php';
require_once 'staff/un-assign-ticket.php';
require_once 'staff/get-tickets.php';
2016-10-15 10:03:56 +02:00
require_once 'staff/get-new-tickets.php';
require_once 'staff/get-all-tickets.php';
require_once 'staff/search-tickets.php';
2016-12-06 03:17:18 +01:00
require_once 'staff/add.php';
require_once 'staff/get-all.php';
require_once 'staff/delete.php';
2016-12-07 23:30:31 +01:00
require_once 'staff/edit.php';
$systemControllerGroup = new ControllerGroup();
$systemControllerGroup->setGroupPath('/staff');
$systemControllerGroup->addController(new GetStaffController);
$systemControllerGroup->addController(new AssignStaffController);
$systemControllerGroup->addController(new UnAssignStaffController);
$systemControllerGroup->addController(new GetTicketStaffController);
2016-10-15 10:03:56 +02:00
$systemControllerGroup->addController(new GetNewTicketsStaffController);
$systemControllerGroup->addController(new GetAllTicketsStaffController);
$systemControllerGroup->addController(new SearchTicketStaffController);
2016-12-06 03:17:18 +01:00
$systemControllerGroup->addController(new AddStaffController);
$systemControllerGroup->addController(new GetAllStaffController);
$systemControllerGroup->addController(new DeleteStaffController);
2016-12-07 23:30:31 +01:00
$systemControllerGroup->addController(new EditStaffController);
$systemControllerGroup->finalize();