示例#1
0
 // please migrate to default branch implementation
 case "sahs":
     require_once "./Modules/ScormAicc/classes/class.ilObjSAHSLearningModuleGUI.php";
     ilObjSAHSLearningModuleGUI::_goto($target_id);
     break;
     // please migrate to default branch implementation
 // please migrate to default branch implementation
 case "cat":
     require_once "./Modules/Category/classes/class.ilObjCategoryGUI.php";
     ilObjCategoryGUI::_goto($target_id);
     break;
     // please migrate to default branch implementation
 // please migrate to default branch implementation
 case "crs":
     require_once "Modules/Course/classes/class.ilObjCourseGUI.php";
     ilObjCourseGUI::_goto($target_id, $additional);
     break;
     // please migrate to default branch implementation
 // please migrate to default branch implementation
 case "grp":
     require_once "./Modules/Group/classes/class.ilObjGroupGUI.php";
     ilObjGroupGUI::_goto($target_id, $additional);
     break;
     // please migrate to default branch implementation
 // please migrate to default branch implementation
 case 'fold':
     require_once "./Modules/Folder/classes/class.ilObjFolderGUI.php";
     ilObjFolderGUI::_goto($target_id);
     break;
     // please migrate to default branch implementation
 // please migrate to default branch implementation
 /**
  * Support for goto php 
  *
  * @return void
  * @static
  */
 public static function _goto($a_target)
 {
     global $ilAccess, $ilErr, $lng;
     include_once './Services/ContainerReference/classes/class.ilContainerReference.php';
     $target_ref_id = ilContainerReference::_lookupTargetRefId(ilObject::_lookupObjId($a_target));
     include_once './Modules/Course/classes/class.ilObjCourseGUI.php';
     ilObjCourseGUI::_goto($target_ref_id);
 }