4 require_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004NodeGUI.php");
5 require_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Chapter.php");
30 $ilCtrl->saveParameter($this,
"obj_id");
32 parent::ilSCORM2004NodeGUI($a_slm_obj, $a_node_id);
50 $tpl->getStandardTemplate();
52 $next_class = $ilCtrl->getNextClass($this);
53 $cmd = $ilCtrl->getCmd();
59 switch(
$_GET[
"notes_mode"])
69 include_once
'Services/MetaData/classes/class.ilMDEditorGUI.php';
72 $this->node_object->getId(), $this->node_object->getType());
73 $md_gui->
addObserver($this->node_object,
'MDUpdateListener',
'General');
74 $ilCtrl->forwardCommand($md_gui);
90 $ilHelp->setScreenIdComponent(
"sahsed");
93 $ilTabs->addTarget(
"sahs_organization",
94 $ilCtrl->getLinkTarget($this,
'showOrganization'),
95 "showOrganization", get_class($this));
103 $ilTabs->addTarget(
"meta_data",
104 $ilCtrl->getLinkTargetByClass(
"ilmdeditorgui",
''),
105 "",
"ilmdeditorgui");
109 $lng->txt(
"sahs_chapter").
": ".$this->node_object->getTitle());
117 include_once(
"./Modules/Scorm2004/classes/seq_editor/class.ilSCORM2004Objective.php");
118 include_once(
"./Modules/Scorm2004/classes/seq_editor/class.ilSCORM2004SeqTemplate.php");
124 $tpl->addBlockfile(
"ADM_CONTENT",
"adm_content",
"tpl.scormeditor_chapter_properties.html",
"Modules/Scorm2004");
127 $item_data = $template->getMetadataProperties();
128 $tpl->setVariable(
"VAL_DESCRIPTION",$item_data[
'description']);
129 $tpl->setVariable(
"VAL_TITLE",$item_data[
'title'] );
132 $tpl->setContent(
"No didactical scenario assigned.");
143 $this->slm_object->executeDragDrop(
$_POST[
"il_hform_source_id"],
$_POST[
"il_hform_target_id"],
145 $ilCtrl->redirect($this,
"showOrganization");
Class ilSCORM2004NodeGUI.
& executeCommand()
execute command
addObserver(&$a_class, $a_method, $a_element)
setLocator()
Set Locator Items.
proceedDragDrop()
Perform drag and drop action.
ilSCORM2004ChapterGUI($a_slm_obj, $a_node_id=0)
Constructor public.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
showOrganization()
Confirm deletion screen (delete page or structure objects)
showProperties()
Show Sequencing.
Class ilSCORM2004ChapterGUI.
static templateForChapter($a_chapter_id)