33 $this->ctrl->saveParameter($this,
"ref_id");
41 global
$lng, $ilAccess, $ilNavigationHistory,
$ilias;
43 include_once
"./Modules/ScormAicc/classes/class.ilObjSAHSLearningModule.php";
45 $lng->loadLanguageModule(
"content");
48 if (!$ilAccess->checkAccess(
"write",
"",
$_GET[
"ref_id"]))
50 $this->ilias->raiseError($lng->txt(
"permission_denied"),$ilias->error_obj->MESSAGE);
54 $ilNavigationHistory->addItem(
$_GET[
"ref_id"],
55 "ilias.php?baseClass=ilSAHSEditGUI&ref_id=".
$_GET[
"ref_id"],
"lm");
57 $next_class = $this->ctrl->getNextClass($this);
58 $cmd = $this->ctrl->getCmd();
68 include_once(
"./Modules/Scorm2004/classes/class.ilObjSCORM2004LearningModuleGUI.php");
73 include_once(
"./Modules/ScormAicc/classes/class.ilObjSCORMLearningModuleGUI.php");
78 include_once(
"./Modules/ScormAicc/classes/class.ilObjAICCLearningModuleGUI.php");
83 include_once(
"./Modules/ScormAicc/classes/class.ilObjHACPLearningModuleGUI.php");
88 if ($next_class ==
"")
94 $this->ctrl->setCmdClass(
"ilobjscorm2004learningmodulegui");
98 $this->ctrl->setCmdClass(
"ilobjscormlearningmodulegui");
102 $this->ctrl->setCmdClass(
"ilobjaicclearningmodulegui");
106 $this->ctrl->setCmdClass(
"ilobjhacplearningmodulegui");
109 $next_class = $this->ctrl->getNextClass($this);
114 case "ilobjscormlearningmodulegui":
115 case "ilobjscorm2004learningmodulegui":
116 $ret =& $this->ctrl->forwardCommand($this->slm_gui);
119 case "ilobjaicclearningmodulegui":
120 $ret =& $this->ctrl->forwardCommand($this->slm_gui);
123 case "ilobjhacplearningmodulegui":
124 $ret =& $this->ctrl->forwardCommand($this->slm_gui);
128 die (
"ilSAHSEdit: Class $next_class not found.");;