Esempio n. 1
0
 public function loadAllStudents()
 {
     //
     $puid = $_SESSION['UserID'];
     $profmod = new user_model();
     $profmod->loadPropertiesFromPrimaryKey($puid);
     $student_list = $profmod->getAdvisees();
     $pdata = array('students' => $student_list);
     $this->load->view('all_students_view', $pdata);
 }