4 require_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004NodeGUI.php");
5 require_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Chapter.php");
55 $this->ctrl = $DIC->ctrl();
56 $this->tpl = $DIC[
"tpl"];
57 $this->tabs = $DIC->tabs();
58 $this->lng = $DIC->language();
59 $this->help = $DIC[
"ilHelp"];
62 $ilCtrl->saveParameter($this,
"obj_id");
64 parent::__construct($a_slm_obj, $a_node_id);
84 $tpl->getStandardTemplate();
86 $next_class =
$ilCtrl->getNextClass($this);
89 switch ($next_class) {
92 switch (
$_GET[
"notes_mode"]) {
98 case 'ilobjectmetadatagui':
101 include_once
'Services/Object/classes/class.ilObjectMetaDataGUI.php';
104 $this->node_object->getType(),
105 $this->node_object->getId()
107 $md_gui->
addMDObserver($this->node_object,
'MDUpdateListener',
'General');
108 $ilCtrl->forwardCommand($md_gui);
112 $ret = $this->$cmd();
128 $ilHelp->setScreenIdComponent(
"sahsed");
133 $ilCtrl->getLinkTarget($this,
'showOrganization'),
144 include_once
"Services/Object/classes/class.ilObjectMetaDataGUI.php";
147 $this->node_object->getType(),
148 $this->node_object->getId()
150 $mdtab = $mdgui->
getTab();
162 $lng->txt(
"sahs_chapter") .
": " . $this->node_object->getTitle()
171 include_once(
"./Modules/Scorm2004/classes/seq_editor/class.ilSCORM2004Objective.php");
172 include_once(
"./Modules/Scorm2004/classes/seq_editor/class.ilSCORM2004SeqTemplate.php");
178 $tpl->addBlockfile(
"ADM_CONTENT",
"adm_content",
"tpl.scormeditor_chapter_properties.html",
"Modules/Scorm2004");
181 $item_data =
$template->getMetadataProperties();
182 $tpl->setVariable(
"VAL_DESCRIPTION", $item_data[
'description']);
183 $tpl->setVariable(
"VAL_TITLE", $item_data[
'title']);
186 $tpl->setContent(
"No didactical scenario assigned.");
197 $this->slm_object->executeDragDrop(
198 $_POST[
"il_hform_source_id"],
199 $_POST[
"il_hform_target_id"],
201 $_POST[
"il_hform_as_subitem"]
203 $ilCtrl->redirect($this,
"showOrganization");
executeCommand()
execute command
Class ilSCORM2004NodeGUI.
setLocator()
Set Locator Items.
proceedDragDrop()
Perform drag and drop action.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
showOrganization()
put this object into content object tree
showProperties()
Show Sequencing.
Class ilSCORM2004ChapterGUI.
__construct($a_slm_obj, $a_node_id=0)
Constructor public.
static templateForChapter($a_chapter_id)