53 $this->ctrl->saveParameter($this,
"ref_id");
61 global
$lng, $ilAccess, $ilNavigationHistory;
63 include_once
"./Modules/ScormAicc/classes/class.ilObjSAHSLearningModule.php";
65 $lng->loadLanguageModule(
"content");
68 if (!$ilAccess->checkAccess(
"write",
"",
$_GET[
"ref_id"]))
70 $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();
87 include_once(
"./Modules/Scorm2004/classes/class.ilObjSCORM2004LearningModuleGUI.php");
92 include_once(
"./Modules/ScormAicc/classes/class.ilObjSCORMLearningModuleGUI.php");
97 include_once(
"./Modules/ScormAicc/classes/class.ilObjAICCLearningModuleGUI.php");
102 include_once(
"./Modules/ScormAicc/classes/class.ilObjHACPLearningModuleGUI.php");
107 if ($next_class ==
"")
113 $this->ctrl->setCmdClass(
"ilobjscorm2004learningmodulegui");
117 $this->ctrl->setCmdClass(
"ilobjscormlearningmodulegui");
121 $this->ctrl->setCmdClass(
"ilobjaicclearningmodulegui");
125 $this->ctrl->setCmdClass(
"ilobjhacplearningmodulegui");
128 $next_class = $this->ctrl->getNextClass($this);
133 case "ilobjscormlearningmodulegui":
134 case "ilobjscorm2004learningmodulegui":
135 $ret =& $this->ctrl->forwardCommand($this->slm_gui);
138 case "ilobjaicclearningmodulegui":
139 $ret =& $this->ctrl->forwardCommand($this->slm_gui);
142 case "ilobjhacplearningmodulegui":
143 $ret =& $this->ctrl->forwardCommand($this->slm_gui);
147 die (
"ilSAHSEdit: Class $next_class not found.");;