コード例 #1
0
ファイル: usuario.php プロジェクト: kailIII/SiGA
 public function student_offerList($courseId)
 {
     $semester = new Semester();
     $currentSemester = $semester->getCurrentSemester();
     $course = new Course();
     $courseData = $course->getCourseById($courseId);
     $offer = new Offer();
     $offerListDisciplines = $offer->getCourseApprovedOfferListDisciplines($courseId, $currentSemester['id_semester']);
     $data = array('currentSemester' => $currentSemester, 'course' => $courseData, 'offerListDisciplines' => $offerListDisciplines);
     loadTemplateSafelyByGroup("estudante", 'usuario/student_offer_list', $data);
 }