4require_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004NodeGUI.php");
5require_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004PageNode.php");
30 $ilCtrl->saveParameter($this,
"obj_id");
32 parent::ilSCORM2004NodeGUI($a_slm_obj, $a_node_id);
50 $next_class =
$ilCtrl->getNextClass($this);
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,
69 $this->getParentGUI()->object->getId(),
70 $this->slm_object->getAssignedGlossary());
71 $page_gui->setEditPreview(
true);
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,
105 $this->node_object->getType(), $this->node_object->getId(),
106 $this->node_object,
'MDUpdateListener');
110 $tpl->setContent(
$ret);
128 $ilCtrl->setCmdClass(
"ilscorm2004pagegui");
147 $lng->txt(
"sahs_page").
": ".$this->node_object->getTitle());
static getEffectiveContentStyleId($a_style_id, $a_type="")
Get effective Style Id.
Class ilSCORM2004NodeGUI.
setContentStyle()
Set content style sheet.
setLocator()
Set Locator Items.
Class ilSCORM2004Page GUI class.
Class ilSCORM2004PageNodeGUI.
ilSCORM2004PageNodeGUI($a_slm_obj, $a_node_id=0)
Constructor @access public.
edit()
Edit -> switch to ilscorm2004pagegui.
& executeCommand()
execute command
static getGlossaryOverviewId()
Get sco glossary overlay id.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)