/** * Displays the list of of students * @access public * @param int $selectedPage * @return void */ public function studentsListAction($selectedPage = 1) { $studListModelObj = new StudentsListModel(); $studentsList = $studListModelObj->getStudentsList(); $out = StudentsListView::getTable($studentsList, $this->loginStatus, $selectedPage); $this->printIndexPage($out); }
public function studentsListAction() { $studListModelObj = new \models\StudentsListModel(); $studentsList = $studListModelObj->getStudentsList(); $out = \views\StudentsListView::getTable($studentsList, $this->loginStatus); $this->printIndexPage($out); }