4 require_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004NodeGUI.php");
5 require_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004PageNode.php");
30 $ilCtrl->saveParameter($this,
"obj_id");
50 $next_class = $ilCtrl->getNextClass($this);
51 $cmd = $ilCtrl->getCmd();
56 case "ilscorm2004pagegui":
57 $tpl->getStandardTemplate();
63 $showViewInFrameset =
true;
65 $ilCtrl->setReturn($this,
"edit");
66 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004PageGUI.php");
68 $this->node_object->getId(), 0,
70 $this->slm_object->getAssignedGlossary());
72 $page_gui->setPresentationTitle($this->node_object->getTitle());
73 include_once(
"./Services/Style/classes/class.ilObjStyleSheet.php");
75 $this->slm_object->getStyleSheetId(),
"sahs"));
77 if ($this->node_object->tree->getParentId($this->node_object->getId()) > 0)
80 $this->node_object->getSLMObject(),
81 $this->node_object->tree->getParentId(
82 $this->node_object->getId()));
83 if (count($sco->getGlossaryTermIds()) > 1)
85 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004ScoGUI.php");
86 $page_gui->setGlossaryOverviewInfo(
91 $ilCtrl->setParameterByClass(
"ilobjscorm2004learningmodulegui",
92 "active_node",
$_GET[
"obj_id"]);
93 $page_gui->setExplorerUpdater(
"tree",
"tree_div",
94 $ilCtrl->getLinkTargetByClass(
"ilobjscorm2004learningmodulegui",
95 "showTree",
"",
true));
96 $ilCtrl->setParameterByClass(
"ilobjscorm2004learningmodulegui",
101 $page_gui->setLinkParams(
"ref_id=".$this->slm_object->getRefId());
104 $page_gui->activateMetaDataEditor($this->slm_object->getID(),
105 $this->node_object->getId(), $this->node_object->getType(),
109 $ret = $ilCtrl->forwardCommand($page_gui);
111 $tpl->setContent(
$ret);
129 $ilCtrl->setCmdClass(
"ilscorm2004pagegui");
130 $ilCtrl->setCmd(
"edit");
148 $lng->txt(
"sahs_page").
": ".$this->node_object->getTitle());