/** * Modify Item ListGUI for presentation in container */ function modifyItemGUI($a_item_list_gui, $a_item_data, $a_show_path) { global $tree; // if folder is in a course, modify item list gui according to course requirements if ($course_ref_id = $tree->checkForParentType($this->object->getRefId(), 'crs')) { include_once "./Modules/Course/classes/class.ilObjCourse.php"; include_once "./Modules/Course/classes/class.ilObjCourseGUI.php"; $course_obj_id = ilObject::_lookupObjId($course_ref_id); ilObjCourseGUI::_modifyItemGUI($a_item_list_gui, 'ilcoursecontentgui', $a_item_data, $a_show_path, ilObjCourse::_lookupAboStatus($course_obj_id), $course_ref_id, $course_obj_id, $this->object->getRefId()); } }
/** * Modify Item ListGUI for presentation in container */ function modifyItemGUI($a_item_list_gui, $a_item_data, $a_show_path) { global $tree; // if folder is in a course, modify item list gui according to course requirements if ($course_ref_id = $tree->checkForParentType($this->object->getRefId(), 'crs')) { // #10611 include_once "Services/Object/classes/class.ilObjectActivation.php"; ilObjectActivation::addListGUIActivationProperty($a_item_list_gui, $a_item_data); include_once "./Modules/Course/classes/class.ilObjCourse.php"; include_once "./Modules/Course/classes/class.ilObjCourseGUI.php"; $course_obj_id = ilObject::_lookupObjId($course_ref_id); ilObjCourseGUI::_modifyItemGUI($a_item_list_gui, get_class($this), $a_item_data, $a_show_path, ilObjCourse::_lookupAboStatus($course_obj_id), $course_ref_id, $course_obj_id, $this->object->getRefId()); } }