protected function stulist() { global $objPDO; $sec = $_GET['uid']; require_once $_SERVER['DOCUMENT_ROOT'] . '/cloud/model/section_class.php'; require_once $_SERVER['DOCUMENT_ROOT'] . '/cloud/model/student_profile_class.php'; $section = new Section($objPDO, $sec); $class = $section->getClass(); $stu = new StudentProfile($objPDO); $result = $stu->getByClass($class); include_once $_SERVER['DOCUMENT_ROOT'] . '/cloud/view/stu_sec_list_view.php'; }