tp_servicedesk/app/controllers/ProjectController.php
2025-02-17 01:22:07 +00:00

29 lines
701 B
PHP

<?php
class ProjectController implements CRUD {
use RequiresAuth;
// list all projects
public function index($f3){
$this->check_access($f3);
$f3->set('content', '../ui/views/project/index.html');
echo \Template::instance()->render('../ui/templates/layout.html');
}
// create a new project
public function createForm($f3){
}
public function create($f3){
}
// show project details including links, tickets, events, tasks
public function view($f3){}
// update project details
public function editForm($f3){}
public function update($f3){}
}