53 $this->ctrl->saveParameter($this,
"ref_id");
61 global
$lng, $ilAccess, $ilNavigationHistory,
$ilias;
63 include_once
"./Modules/ScormAicc/classes/class.ilObjSAHSLearningModule.php";
65 $lng->loadLanguageModule(
"content");
68 if (!$ilAccess->checkAccess(
"write",
"",
$_GET[
"ref_id"]))
70 $this->ilias->raiseError($lng->txt(
"permission_denied"),$ilias->error_obj->MESSAGE);
74 $ilNavigationHistory->addItem(
$_GET[
"ref_id"],
75 "ilias.php?baseClass=ilSAHSEditGUI&ref_id=".
$_GET[
"ref_id"],
"lm");
77 $next_class = $this->ctrl->getNextClass($this);
78 $cmd = $this->ctrl->getCmd();
88 include_once(
"./Modules/Scorm2004/classes/class.ilObjSCORM2004LearningModuleGUI.php");
93 include_once(
"./Modules/ScormAicc/classes/class.ilObjSCORMLearningModuleGUI.php");
98 include_once(
"./Modules/ScormAicc/classes/class.ilObjAICCLearningModuleGUI.php");
103 include_once(
"./Modules/ScormAicc/classes/class.ilObjHACPLearningModuleGUI.php");
108 if ($next_class ==
"")
114 $this->ctrl->setCmdClass(
"ilobjscorm2004learningmodulegui");
118 $this->ctrl->setCmdClass(
"ilobjscormlearningmodulegui");
122 $this->ctrl->setCmdClass(
"ilobjaicclearningmodulegui");
126 $this->ctrl->setCmdClass(
"ilobjhacplearningmodulegui");
129 $next_class = $this->ctrl->getNextClass($this);
134 case "ilobjscormlearningmodulegui":
135 case "ilobjscorm2004learningmodulegui":
136 $ret =& $this->ctrl->forwardCommand($this->slm_gui);
139 case "ilobjaicclearningmodulegui":
140 $ret =& $this->ctrl->forwardCommand($this->slm_gui);
143 case "ilobjhacplearningmodulegui":
144 $ret =& $this->ctrl->forwardCommand($this->slm_gui);
148 die (
"ilSAHSEdit: Class $next_class not found.");;