public function viewStudent() { $student = new student(); $students = $student->getAllStudent(); include 'Views/studentView.php'; }