An error occurred while loading the file. Please try again.
-
Andrew Rudenets authored7fcbbef6
Forked from
it-lab / grade
Source project has a limited visibility.
Students.php 906 B
<?php defined('SYSPATH') or die('No direct script access.');
class Controller_Admin_Students extends Controller_UserEnvi {
public function action_index()
{
$twig = Twig::factory('admin/students/index');
$twig->User = $this->UserInfo;
$this->response->body($twig);
}
public function action_add()
{
$twig = Twig::factory('admin/students/add');
$twig->User = $this->UserInfo;
$this->response->body($twig);
}
public function action_upload()
{
$twig = Twig::factory('admin/students/upload');
$twig->User = $this->UserInfo;
$this->response->body($twig);
}
public function action_edit()
{
$twig = Twig::factory('admin/students/edit');
$twig->User = $this->UserInfo;
$this->response->body($twig);
}
}