4 require_once(
"./Modules/ScormAicc/classes/class.ilObjSCORMLearningModuleGUI.php");
5 require_once(
"./Modules/Scorm2004/classes/class.ilObjSCORM2004LearningModule.php");
6 require_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Export.php");
7 include_once(
"./Services/Style/Content/classes/class.ilObjStyleSheetGUI.php");
8 include_once(
"./Services/COPage/Layout/classes/class.ilPageLayout.php");
31 function __construct($a_data,$a_id,$a_call_by_reference, $a_prepare_output =
true)
35 $lng->loadLanguageModule(
"content");
36 $lng->loadLanguageModule(
"sahs");
37 $lng->loadLanguageModule(
"search");
38 $lng->loadLanguageModule(
"exp");
40 parent::__construct($a_data,$a_id,$a_call_by_reference,
false);
41 #$this->tabs_gui = new ilTabsGUI(); 51 $next_class = $ilCtrl->getNextClass($this);
52 $cmd = $ilCtrl->getCmd();
54 if ($this->
object->getEditable() &&
$cmd !=
"showEditTree")
60 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004OrganizationHFormGUI.php");
63 $form_gui->updateExpanded();
71 switch(
$_GET[
"notes_mode"])
74 $ilTabs->setTabActive(
"sahs_organization");
80 case "ilscorm2004chaptergui":
81 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004ChapterGUI.php");
83 $chap_gui->setParentGUI($this);
84 return $ilCtrl->forwardCommand($chap_gui);
87 case "ilscorm2004seqchaptergui":
88 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004SeqChapterGUI.php");
90 $chap_gui->setParentGUI($this);
91 return $ilCtrl->forwardCommand($chap_gui);
94 case "ilscorm2004scogui":
95 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004ScoGUI.php");
97 $sco_gui->setParentGUI($this);
98 return $ilCtrl->forwardCommand($sco_gui);
101 case "ilscorm2004assetgui":
102 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004AssetGUI.php");
104 $ass_gui->setParentGUI($this);
105 return $ilCtrl->forwardCommand($ass_gui);
108 case "ilscorm2004pagenodegui":
109 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004PageNodeGUI.php");
111 $page_gui->setParentGUI($this);
112 $ilCtrl->forwardCommand($page_gui);
116 parent::executeCommand();
132 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004EditorExplorerGUI.php");
134 if (!$exp->handleCommand())
136 $tpl->setLeftNavContent($exp->getHTML());
149 if (
$_GET[
"obj_id"] > 0)
151 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Node.php");
154 if (in_array($type,
array(
"sco",
"chap",
"seqc",
"page")))
156 $this->ctrl->setParameter($this,
"obj_id",
$_GET[
"obj_id"]);
157 $this->ctrl->redirect($this,
"jumpToNode");
161 if ($a_to_organization)
163 $this->ctrl->redirect($this,
"showOrganization");
167 $this->ctrl->redirect($this,
"properties");
181 if ($this->
object->getEditable())
183 $this->ctrl->redirect($this,
"properties");
187 $this->tpl =
new ilTemplate(
"tpl.sahs_edit_frameset.html",
false,
false,
"Modules/ScormAicc");
188 $this->tpl->setVariable(
"SRC",
189 $this->ctrl->getLinkTarget($this,
"properties"));
190 $this->tpl->show(
"DEFAULT",
false);
195 function jumpToNode($a_anchor_node =
"", $a_highlight_ids =
"")
199 $anchor = ($a_anchor_node !=
"")
200 ?
"node_".$a_anchor_node
203 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Node.php");
205 $ilCtrl->setParameter($this,
"obj_id",
$_GET[
"obj_id"]);
209 $ilCtrl->setParameterByClass(
"ilscorm2004scogui",
"highlight", $a_highlight_ids);
210 $ilCtrl->redirectByClass(
"ilscorm2004scogui",
"showOrganization", $anchor);
212 $ilCtrl->setParameterByClass(
"ilscorm2004assetgui",
"highlight", $a_highlight_ids);
213 $ilCtrl->redirectByClass(
"ilscorm2004assetgui",
"showOrganization", $anchor);
215 $ilCtrl->setParameterByClass(
"ilscorm2004chaptergui",
"highlight", $a_highlight_ids);
216 $ilCtrl->redirectByClass(
"ilscorm2004chaptergui",
"showOrganization", $anchor);
218 $ilCtrl->setParameterByClass(
"ilscorm2004seqchaptergui",
"highlight", $a_highlight_ids);
219 $ilCtrl->redirectByClass(
"ilscorm2004seqchaptergui",
"showOrganization", $anchor);
221 $ilCtrl->redirectByClass(
"ilscorm2004pagenodegui",
"edit");
232 $this->
setSubTabs(
"settings",
"general_settings");
234 $lng->loadLanguageModule(
"style");
237 if ($this->
object->editable != 1)
240 $ilTabs->setSubTabActive(
'cont_settings');
242 $ilToolbar->addButton($this->lng->txt(
"view"),
243 "ilias.php?baseClass=ilSAHSPresentationGUI&ref_id=".$this->object->getRefID(),
252 $parent_ref_id = $tree->getParentId((
int)
$_GET[
"ref_id"]);
253 if ($rbacsystem->checkAccess(
"create", $parent_ref_id,
"glo"))
255 $ilToolbar->addButton($this->lng->txt(
"cont_glo_create"),
256 $ilCtrl->getLinkTarget($this,
"createGlossary"));
258 $ilToolbar->addButton($this->lng->txt(
"cont_glo_assign"),
259 $ilCtrl->getLinkTarget($this,
"assignGlossary"));
263 $ilToolbar->addButton($this->lng->txt(
"cont_glo_detach"),
264 $ilCtrl->getLinkTarget($this,
"detachGlossary"));
268 $fixed_style = $ilSetting->get(
"fixed_content_style_id");
269 $style_id = $this->
object->getStyleSheetId();
271 if ($fixed_style == 0)
276 $st_styles[0] = $this->lng->txt(
"default");
284 $ilToolbar->addSeparator();
287 $ilToolbar->addButton($this->lng->txt(
"cont_edit_style"),
288 $ilCtrl->getLinkTarget($this,
"editStyle"));
289 $ilToolbar->addButton($this->lng->txt(
"cont_delete_style"),
290 $ilCtrl->getLinkTarget($this,
"deleteStyle"));
296 $ilToolbar->addSeparator();
298 $ilToolbar->addButton($this->lng->txt(
"sty_create_ind_style"),
299 $ilCtrl->getLinkTarget($this,
"createStyle"));
305 if ($this->
object->editable != 1)
308 $tpl->setContent($this->form->getHTML());
314 $tpl->setContent($this->form->getHTML());
328 include_once(
"Services/Form/classes/class.ilPropertyFormGUI.php");
330 $this->form->setFormAction($ilCtrl->getFormAction($this));
331 $this->form->setTitle($this->lng->txt(
"cont_lm_properties"));
334 $this->
object->checkMasteryScoreValues();
337 $ti =
new ilTextInputGUI($this->lng->txt(
"title"),
"Fobject_title");
339 $ti->setValue($this->
object->getTitle());
340 $this->form->addItem($ti);
345 $this->form->addItem($ti);
350 $this->form->addItem($ne);
355 $ne->setInfo($this->lng->txt(
"cont_sc_version_info"));
356 $this->form->addItem($ne);
362 $sh->setTitle($this->lng->txt(
"activation"));
363 $this->form->addItem($sh);
368 if ($this->
object->getOnline())
370 $cb->setChecked(
true);
372 $cb->setInfo($this->lng->txt(
"cont_online_info"));
373 $this->form->addItem($cb);
376 $cb =
new ilCheckboxInputGUI($this->lng->txt(
"cont_offline_mode_allow"),
"cobj_offline_mode");
378 $cb->setChecked($this->
object->getOfflineMode());
379 include_once(
"./Modules/ScormAicc/classes/class.ilSCORMOfflineMode.php");
381 $cb->setDisabled(
true);
382 $cb->setInfo($this->lng->txt(
"cont_offline_mode_disable_not_allowed_info"));
384 $cb->setInfo($this->lng->txt(
"cont_offline_mode_allow_info"));
386 $this->form->addItem($cb);
392 $sh->setTitle($this->lng->txt(
"cont_presentation"));
393 $this->form->addItem($sh);
409 $op0 =
new ilRadioOption($this->lng->txt(
"cont_open_normal"),
"0");
410 $radg->addOption($op0);
411 $op1 =
new ilRadioOption($this->lng->txt(
"cont_open_iframe"),
"1");
412 $radg->addOption($op1);
413 $op2 =
new ilRadioOption($this->lng->txt(
"cont_open_window"),
"5");
414 $radg->addOption($op2);
420 $ni->setValue($this->
object->getWidth());
421 $op1->addSubItem($ni);
425 $ni->setValue($this->
object->getWidth());
426 $op2->addSubItem($ni);
431 $ni->setValue($this->
object->getHeight());
432 $ni->setInfo($this->lng->txt(
"cont_width_height_info"));
433 $op1->addSubItem($ni);
437 $ni->setValue($this->
object->getHeight());
438 $ni->setInfo($this->lng->txt(
"cont_width_height_info"));
439 $op2->addSubItem($ni);
442 $cb =
new ilCheckboxInputGUI($this->lng->txt(
"cont_ie_compatibility"),
"cobj_ie_compatibility_0");
444 $cb->setChecked($this->
object->getIe_compatibility());
445 $cb->setInfo($this->lng->txt(
"cont_ie_compatibility_info"));
447 $cb =
new ilCheckboxInputGUI($this->lng->txt(
"cont_ie_compatibility"),
"cobj_ie_compatibility_1");
449 $cb->setChecked($this->
object->getIe_compatibility());
450 $cb->setInfo($this->lng->txt(
"cont_ie_compatibility_info"));
451 $op2->addSubItem($cb);
454 $cb =
new ilCheckboxInputGUI($this->lng->txt(
"cont_ie_force_render"),
"cobj_ie_force_render");
456 $cb->setChecked($this->
object->getIe_force_render());
457 $cb->setInfo($this->lng->txt(
"cont_ie_force_render_info"));
458 $op2->addSubItem($cb);
460 $this->form->addItem($radg);
467 $cb->setChecked($this->
object->getNoMenu());
468 $cb->setInfo($this->lng->txt(
"cont_nomenu_info"));
469 $this->form->addItem($cb);
475 $cb->setChecked($this->
object->getHideNavig());
476 $cb->setInfo($this->lng->txt(
"cont_hidenavig_info"));
477 $this->form->addItem($cb);
480 $cb =
new ilCheckboxInputGUI($this->lng->txt(
"cont_auto_last_visited"),
"cobj_auto_last_visited");
482 $cb->setChecked($this->
object->getAuto_last_visited());
483 $cb->setInfo($this->lng->txt(
"cont_auto_last_visited_info"));
484 $this->form->addItem($cb);
491 $sh->setTitle($this->lng->txt(
"cont_scorm_options"));
492 $this->form->addItem($sh);
503 $options =
array(
"normal" => $this->lng->txt(
"cont_sc_less_mode_normal"),
504 "browse" => $this->lng->txt(
"cont_sc_less_mode_browse"));
507 $si->setValue($this->
object->getDefaultLessonMode());
508 $this->form->addItem($si);
511 $options =
array(
"credit" => $this->lng->txt(
"cont_credit_on"),
512 "no_credit" => $this->lng->txt(
"cont_credit_off"));
513 $si =
new ilSelectInputGUI($this->lng->txt(
"cont_credit_mode"),
"credit_mode");
515 $si->setValue($this->
object->getCreditMode());
516 $si->setInfo($this->lng->txt(
"cont_credit_mode_info"));
517 $this->form->addItem($si);
521 "n" => $this->lng->txt(
"cont_sc_auto_review_no"),
522 "r" => $this->lng->txt(
"cont_sc_auto_review_completed_not_failed_or_passed"),
523 "p" => $this->lng->txt(
"cont_sc_auto_review_passed"),
524 "q" => $this->lng->txt(
"cont_sc_auto_review_passed_or_failed"),
525 "c" => $this->lng->txt(
"cont_sc_auto_review_completed"),
526 "d" => $this->lng->txt(
"cont_sc_auto_review_completed_and_passed"),
527 "y" => $this->lng->txt(
"cont_sc_auto_review_completed_or_passed"),
528 "s" => $this->lng->txt(
"cont_sc_store_if_previous_score_was_lower")
530 $si =
new ilSelectInputGUI($this->lng->txt(
"cont_sc_auto_review_2004"),
"auto_review");
532 $si->setValue($this->
object->getAutoReviewChar());
533 $si->setInfo($this->lng->txt(
"cont_sc_auto_review_info_2004"));
534 $this->form->addItem($si);
537 if ($this->
object->getMasteryScoreValues() !=
"") {
538 $ni =
new ilNumberInputGUI($this->lng->txt(
"cont_mastery_score_2004"),
"mastery_score");
541 $ni->setValue($this->
object->getMasteryScore());
542 $ni->setInfo($this->lng->txt(
"cont_mastery_score_2004_info").$this->object->getMasteryScoreValues());
543 $this->form->addItem($ni);
550 $sh->setTitle($this->lng->txt(
"cont_rte_settings"));
551 $this->form->addItem($sh);
556 $cb->setChecked($this->
object->getSession());
557 $cb->setInfo($this->lng->txt(
"cont_sc_usession_info"));
558 $this->form->addItem($cb);
561 $cb =
new ilCheckboxInputGUI($this->lng->txt(
"cont_fourth_edition"),
"cobj_fourth_edition");
563 $cb->setChecked($this->
object->getFourth_edition());
564 $cb->setInfo($this->lng->txt(
"cont_fourth_edition_info"));
565 $this->form->addItem($cb);
570 $cb->setChecked($this->
object->getSequencing());
571 $cb->setInfo($this->lng->txt(
"cont_sequencing_info"));
572 $this->form->addItem($cb);
575 $cb =
new ilCheckboxInputGUI($this->lng->txt(
"cont_interactions"),
"cobj_interactions");
577 $cb->setChecked($this->
object->getInteractions());
578 $cb->setInfo($this->lng->txt(
"cont_interactions_info"));
579 $this->form->addItem($cb);
584 $cb->setChecked($this->
object->getObjectives());
585 $cb->setInfo($this->lng->txt(
"cont_objectives_info"));
586 $this->form->addItem($cb);
591 $cb->setChecked($this->
object->getComments());
592 $cb->setInfo($this->lng->txt(
"cont_comments_info"));
593 $this->form->addItem($cb);
596 $cb =
new ilCheckboxInputGUI($this->lng->txt(
"cont_time_from_lms"),
"cobj_time_from_lms");
598 $cb->setChecked($this->
object->getTime_from_lms());
599 $cb->setInfo($this->lng->txt(
"cont_time_from_lms_info"));
600 $this->form->addItem($cb);
603 $cb =
new ilCheckboxInputGUI($this->lng->txt(
"cont_check_values"),
"cobj_check_values");
605 $cb->setChecked($this->
object->getCheck_values());
606 $cb->setInfo($this->lng->txt(
"cont_check_values_info"));
607 $this->form->addItem($cb);
610 $cb =
new ilCheckboxInputGUI($this->lng->txt(
"cont_auto_suspend"),
"cobj_auto_suspend");
612 $cb->setChecked($this->
object->getAutoSuspend());
613 $cb->setInfo($this->lng->txt(
"cont_auto_suspend_info"));
614 $this->form->addItem($cb);
620 $sh->setTitle($this->lng->txt(
"cont_debugging"));
621 $this->form->addItem($sh);
626 $cb->setChecked($this->
object->getDebug());
627 if ($this->
object->getDebugActivated() ==
false)
629 $cb->setDisabled(
true);
630 $cb->setInfo($this->lng->txt(
"cont_debug_deactivated"));
634 $cb->setInfo($this->lng->txt(
"cont_debug_deactivate"));
636 $this->form->addItem($cb);
637 $this->form->addCommandButton(
"saveProperties", $lng->txt(
"save"));
648 include_once(
"Services/Form/classes/class.ilPropertyFormGUI.php");
653 "" => $lng->txt(
"please_select"),
655 $langs = $lng->getInstalledLanguages();
656 $lng->loadLanguageModule(
"meta");
657 foreach ($langs as
$l)
661 $loc =
new ilSelectInputGUI($this->lng->txt(
"cont_localization"),
"localization");
663 $loc->setInfo($this->lng->txt(
"cont_localization_info"));
664 $this->form->addItem($loc);
668 $this->form->addItem($ne);
671 $lng->loadLanguageModule(
"style");
672 $fixed_style = $ilSetting->get(
"fixed_content_style_id");
673 $style_id = $this->
object->getStyleSheetId();
675 if ($fixed_style > 0)
679 $this->lng->txt(
"global_fixed").
")");
680 $this->form->addItem($st);
687 $st_styles[0] = $this->lng->txt(
"default");
697 $this->form->addItem($st);
704 $st_styles,
false,
true);
705 $style_sel =
new ilSelectInputGUI($lng->txt(
"cont_current_style"),
"style_id");
707 $style_sel->setValue($style_id);
708 $this->form->addItem($style_sel);
714 $ni->
setInfo($lng->txt(
"cont_qtries_info"));
715 $ni->setMaxLength(3);
717 $this->form->addItem($ni);
720 $this->form->addCommandButton(
"saveProperties", $lng->txt(
"save"));
722 $this->form->setTitle($lng->txt(
"cont_scorm_ed_properties"));
723 $this->form->setFormAction($ilCtrl->getFormAction($this));
739 $values[
"glossary"] = $this->lng->txt(
"cont_no_glossary");
741 $values[
"q_tries"] = $this->
object->getTries();
742 $values[
"localization"] = $this->
object->getLocalization();
743 $values[
"style_id"] = $this->
object->getStyleSheetId();
745 $this->form->setValuesByArray($values);
755 if ($this->
object->editable != 1)
761 if ($tmpOfflineMode ==
true) {
763 $tmpFourth_edition =
false;
764 if ($this->
object->getOfflineMode() ==
false) {
765 $this->
object->zipLmForOfflineMode();
769 if (isset(
$_POST[
"mastery_score"])){
770 $this->
object->setMasteryScore(
$_POST[
"mastery_score"]);
774 $t_auto_review =
$_POST[
"auto_review"];
777 if ($t_auto_review ==
"s") {
778 $t_auto_suspend =
true;
783 $t1_ie_compatibility =
false;
787 $t_height = $this->
object->getHeight();
791 $t_width = $this->
object->getWidth();
796 $this->
object->setOpenMode(
$_POST[
"open_mode"]);
797 $this->
object->setWidth($t_width);
798 $this->
object->setHeight($t_height);
799 $this->
object->setCreditMode(
$_POST[
"credit_mode"]);
800 $this->
object->setMaxAttempt(
$_POST[
"max_attempt"]);
801 $this->
object->setAutoReviewChar($t_auto_review);
802 $this->
object->setDefaultLessonMode(
$_POST[
"lesson_mode"]);
803 $this->
object->setSession($t_session);
807 $this->
object->setIe_compatibility($t_ie_compatibility);
809 $this->
object->setFourth_edition($tmpFourth_edition);
810 $this->
object->setSequencing($tmpSequencing);
816 $this->
object->setAutoSuspend($t_auto_suspend);
817 $this->
object->setOfflineMode($tmpOfflineMode);
821 $this->
object->setTitle(
$_POST[
"Fobject_title"]);
822 $this->
object->setDescription(
$_POST[
"Fobject_description"]);
828 if ($this->form->checkInput())
830 $this->
object->setTries(
$_POST[
"q_tries"]);
831 $this->
object->setLocalization(
$_POST[
"localization"]);
833 if ($ilSetting->get(
"fixed_content_style_id") <= 0 &&
835 || $this->
object->getStyleSheetId() == 0))
841 $this->
object->update();
843 $this->ctrl->redirect($this,
"properties");
853 $this->
object->setAssignedGlossary(0);
854 $this->
object->update();
855 $ilCtrl->redirect($this,
"properties");
866 $tpl->setContent($this->form->getHTML());
876 include_once(
"Services/Form/classes/class.ilPropertyFormGUI.php");
882 $this->form->addItem($ti);
886 $this->form->addItem($ta);
888 $this->form->addCommandButton(
"saveGlossary", $lng->txt(
"save"));
889 $this->form->addCommandButton(
"properties", $lng->txt(
"cancel"));
891 $this->form->
setTitle($lng->txt(
"cont_glo_create"));
892 $this->form->setFormAction($ilCtrl->getFormAction($this));
902 $parent_ref_id = $tree->getParentId((
int)
$_GET[
"ref_id"]);
903 if (!$rbacsystem->checkAccess(
"create", $parent_ref_id,
"glo"))
906 $ilCtrl->redirect($this,
"properties");
910 if ($this->form->checkInput())
912 include_once(
"./Modules/Glossary/classes/class.ilObjGlossary.php");
914 $newObj->setType(
"glo");
915 $newObj->setTitle(
$_POST[
"title"]);
916 $newObj->setDescription(
$_POST[
"description"]);
917 $newObj->setVirtualMode(
"none");
919 $newObj->createReference();
920 $newObj->putInTree($parent_ref_id);
921 $newObj->setPermissions($parent_ref_id);
924 $this->
object->setAssignedGlossary($newObj->getId());
925 $this->
object->update();
928 $ilCtrl->redirect($this,
"properties");
931 $this->form->setValuesByPost();
932 $tpl->setContent($this->form->getHtml());
942 include_once(
"./Modules/Scorm2004/classes/class.ilGlossarySelectorGUI.php");
944 $ilCtrl->getLinkTarget($this,
"selectGlossary"),
"ilobjscorm2004learningmodulegui");
947 if (
$_GET[
"expand"] ==
"")
949 $expanded = $tree->readRootId();
953 $expanded =
$_GET[
"expand"];
955 $exp->setExpand($expanded);
957 $exp->setTargetGet(
"glo_id");
960 $exp->setParamsGet($this->ctrl->getParameterArray($this,
"assignGlossary"));
963 $exp->setFiltered(
true);
965 $exp->addFilter(
"root");
966 $exp->addFilter(
"cat");
967 $exp->addFilter(
"grp");
968 $exp->addFilter(
"fold");
969 $exp->addFilter(
"crs");
970 $exp->addFilter(
"glo");
974 $tpl->setContent($exp->getOutput());
985 $this->
object->update();
986 $ilCtrl->redirect($this,
"properties");
996 if ($this->call_by_reference)
1015 $tpl->setContent($this->form->getHTML());
1025 $lng->loadLanguageModule(
"style");
1027 $ilTabs->setTabActive(
"settings");
1029 include_once(
"./Services/Form/classes/class.ilPropertyFormGUI.php");
1032 $fixed_style = $ilSetting->get(
"fixed_content_style_id");
1033 $style_id = $this->
object->getStyleSheetId();
1035 if ($fixed_style > 0)
1039 $this->lng->txt(
"global_fixed").
")");
1040 $this->form->addItem($st);
1047 $st_styles[0] = $this->lng->txt(
"default");
1057 $this->form->addItem($st);
1062 $this->form->addCommandButton(
"editStyle",
1063 $lng->txt(
"cont_edit_style"));
1064 $this->form->addCommandButton(
"deleteStyle",
1065 $lng->txt(
"cont_delete_style"));
1073 $st_styles,
false,
true);
1074 $style_sel =
new ilSelectInputGUI($lng->txt(
"cont_current_style"),
"style_id");
1076 $style_sel->setValue($style_id);
1077 $this->form->addItem($style_sel);
1079 $this->form->addCommandButton(
"saveStyleSettings",
1081 $this->form->addCommandButton(
"createStyle",
1082 $lng->txt(
"sty_create_ind_style"));
1085 $this->form->setTitle($lng->txt(
"cont_style"));
1086 $this->form->setFormAction($ilCtrl->getFormAction($this));
1096 $ilCtrl->redirectByClass(
"ilobjstylesheetgui",
"create");
1106 $ilCtrl->redirectByClass(
"ilobjstylesheetgui",
"edit");
1116 $ilCtrl->redirectByClass(
"ilobjstylesheetgui",
"delete");
1126 if ($ilSetting->get(
"fixed_content_style_id") <= 0 &&
1128 || $this->
object->getStyleSheetId() == 0))
1131 $this->
object->update();
1134 $this->ctrl->redirect($this,
"editStyleProperties");
1146 $ilTabs->setTabActive(
"cont_tracking_data");
1147 $ilTabs->setSubTabActive(
"cont_tracking_bysco");
1149 $reports =
array(
'exportSelectedCore',
'exportSelectedInteractions',
'exportSelectedObjectives',
'tracInteractionItem',
'tracInteractionUser',
'tracInteractionUserAnswers');
1151 $scoSelected =
"all";
1154 $this->ctrl->setParameter($this,
'scoSelected',$scoSelected);
1159 $this->ctrl->setParameter($this,
'report',$report);
1161 include_once
'./Modules/Scorm2004/classes/class.ilSCORM2004TrackingItemsPerScoFilterGUI.php';
1163 $filter->parse($scoSelected,$report,$reports);
1164 if($report ==
"choose") {
1165 $this->tpl->setContent($filter->form->getHTML());
1167 $scosSelected =
array();
1168 if ($scoSelected !=
"all") $scosSelected[] = $scoSelected;
1170 $tmpscos=$this->
object->getTrackedItems();
1171 for ($i=0; $i<count($tmpscos); $i++) {
1172 $scosSelected[] = $tmpscos[$i][
"id"];
1176 include_once
"Services/Tracking/classes/class.ilTrQuery.php";
1179 include_once
'./Modules/Scorm2004/classes/class.ilSCORM2004TrackingItemsTableGUI.php';
1181 $this->tpl->setContent($filter->form->getHTML().$tbl->getHTML());
1187 global $ilTabs, $ilAccess;
1189 $ilTabs->setTabActive(
'cont_tracking_data');
1191 if($ilAccess->checkAccess(
"read_learning_progress",
"",
$_GET[
"ref_id"])) {
1194 $ilTabs->setSubTabActive(
'cont_tracking_byuser');
1196 $reports =
array(
'exportSelectedSuccess',
'exportSelectedCore',
'exportSelectedInteractions',
'exportSelectedObjectives',
'exportObjGlobalToSystem');
1198 $userSelected =
"all";
1201 $this->ctrl->setParameter($this,
'userSelected',$userSelected);
1206 $this->ctrl->setParameter($this,
'report',$report);
1208 include_once
'./Modules/Scorm2004/classes/class.ilSCORM2004TrackingItemsPerUserFilterGUI.php';
1210 $filter->parse($userSelected,$report,$reports);
1211 if($report ==
"choose") {
1212 $this->tpl->setContent($filter->form->getHTML());
1214 $usersSelected =
array();
1215 if ($userSelected !=
"all") $usersSelected[] = $userSelected;
1217 include_once
"Services/Tracking/classes/class.ilTrQuery.php";
1219 foreach($users as $user) {
1221 $usersSelected[] = $user;
1225 $scosSelected =
array();
1226 $tmpscos=$this->
object->getTrackedItems();
1227 for ($i=0; $i<count($tmpscos); $i++) {
1228 $scosSelected[] = $tmpscos[$i][
"id"];
1234 include_once
'./Modules/Scorm2004/classes/class.ilSCORM2004TrackingItemsTableGUI.php';
1236 $this->tpl->setContent($filter->form->getHTML().$tbl->getHTML());
1239 else if($ilAccess->checkAccess(
"edit_learning_progress",
"",
$_GET[
"ref_id"])) {
1255 $mtree->
setTableNames(
'sahs_sc13_tree',
'sahs_sc13_tree_node');
1256 $mtree->setTreeTablePK(
"slm_id");
1258 if (
$_POST[
"expandAll"] !=
"")
1260 $_GET[
"scexpand"] =
"";
1261 $stree = $mtree->getSubTree($mtree->getNodeData($mtree->readRootId()));
1263 foreach ($stree as
$n)
1265 $n_arr[] = $n[
"child"];
1270 if (
$_POST[
"collapseAll"] !=
"")
1272 $_GET[
"scexpand"] =
"";
1276 $this->tpl =
new ilTemplate(
"tpl.main.html",
true,
true);
1279 $ilCtrl->setParameter($this,
"active_node",
$_GET[
"active_node"]);
1281 $this->tpl->addBlockFile(
"CONTENT",
"content",
"tpl.explorer.html");
1284 $this->tpl->setCurrentBlock(
"exp2_button");
1285 $this->tpl->setVariable(
"CMD_EXP2_BTN",
"expandAll");
1286 $this->tpl->setVariable(
"TXT_EXP2_BTN", $lng->txt(
"expand_all"));
1287 $this->tpl->parseCurrentBlock();
1289 $this->tpl->setCurrentBlock(
"exp2_button");
1290 $this->tpl->setVariable(
"CMD_EXP2_BTN",
"collapseAll");
1291 $this->tpl->setVariable(
"TXT_EXP2_BTN", $lng->txt(
"collapse_all"));
1292 $this->tpl->parseCurrentBlock();
1294 require_once (
"./Modules/Scorm2004/classes/class.ilSCORM2004EditorExplorer.php");
1295 $exp =
new ilSCORM2004EditorExplorer($this->ctrl->getLinkTarget($this,
"edit"),
1297 $exp->setFrameUpdater(
"content",
"ilHierarchyFormUpdater");
1298 $exp->setTargetGet(
"obj_id");
1299 $exp->setExpandTarget($this->ctrl->getLinkTarget($this,
"showTree"));
1301 if (
$_GET[
"scexpand"] ==
"")
1303 $expanded = $mtree->readRootId();
1307 $expanded =
$_GET[
"scexpand"];
1311 if (
$_GET[
"active_node"] !=
"")
1313 $path = $mtree->getPathId(
$_GET[
"active_node"]);
1314 $exp->setForceOpenPath(
$path);
1316 $exp->highlightNode(
$_GET[
"active_node"]);
1318 $exp->setExpand($expanded);
1325 if ($ilCtrl->isAsynch())
1330 $this->tpl->setCurrentBlock(
"content");
1331 $this->tpl->setVariable(
"TXT_EXPLORER_HEADER", $this->lng->txt(
"sahs_organization"));
1332 $this->tpl->setVariable(
"EXP_REFRESH", $this->lng->txt(
"refresh"));
1333 $this->tpl->setVariable(
"EXPLORER",
$output);
1334 $this->ctrl->setParameter($this,
"scexpand",
$_GET[
"scexpand"]);
1335 $this->tpl->setVariable(
"ACTION", $this->ctrl->getLinkTarget($this,
"showTree"));
1336 $this->tpl->parseCurrentBlock();
1338 include_once(
"./Services/jQuery/classes/class.iljQueryUtil.php");
1341 $this->tpl->show(
false);
1354 $ilTabs->setTabActive(
"sahs_sequencing");
1356 include_once(
"./Modules/Scorm2004/classes/seq_editor/class.ilSCORM2004Item.php");
1358 if (!$this->
object->getSequencingExpertMode())
1360 $ilToolbar->addButton($lng->txt(
"sahs_activate_expert_mode"),
1361 $ilCtrl->getLinkTarget($this,
"confirmExpertMode"));
1365 include_once(
"./Services/UIComponent/NestedList/classes/class.ilNestedList.php");
1367 $t = $this->
object->getTree();
1368 $root_node =
$t->getNodeData(
$t->getRootId());
1369 $nodes = $this->
object->getTree()->getSubtree($root_node);
1370 foreach ($nodes as $node)
1372 if (in_array($node[
"type"],
array(
"",
"chap",
"sco")))
1374 $ntpl =
new ilTemplate(
"tpl.seq_node.html",
true,
true,
"Modules/Scorm2004");
1375 $ntpl->setVariable(
"NODE_ID", $node[
"child"]);
1376 if ($node[
"type"] ==
"")
1378 $ntpl->setVariable(
"TITLE", $this->
object->getTitle());
1383 $ntpl->setVariable(
"TITLE", $node[
"title"]);
1386 $ntpl->setVariable(
"SEQ_INFO",
1388 $list->addListNode($ntpl->get(), $node[
"child"], $node[
"parent"]);
1393 $tb->addFormButton($lng->txt(
"save"),
"saveSequencing");
1394 $ftpl =
new ilTemplate(
"tpl.sequencing.html",
true,
true,
"Modules/Scorm2004");
1395 $ftpl->setVariable(
"CONTENT", $list->getHTML());
1396 $ftpl->setVariable(
"FORM_ACTION", $ilCtrl->getFormAction($this));
1397 $ftpl->setVariable(
"TB", $tb->getHTML());
1398 $tpl->setContent($ftpl->get());
1409 $ilTabs->setTabActive(
"sahs_sequencing");
1411 include_once(
"./Services/Utilities/classes/class.ilConfirmationGUI.php");
1413 $cgui->setFormAction($ilCtrl->getFormAction($this));
1414 $cgui->setHeaderText($lng->txt(
"sahs_activate_expert_mode_info"));
1415 $cgui->setCancel($lng->txt(
"cancel"),
"showSequencing");
1416 $cgui->setConfirm($lng->txt(
"sahs_activate_expert_mode"),
"activateExpertMode");
1418 $tpl->setContent($cgui->getHTML());
1431 $this->
object->setSequencingExpertMode(
true);
1432 $this->
object->update();
1434 $ilCtrl->redirect($this,
"showSequencing");
1445 include_once(
"./Modules/Scorm2004/classes/seq_editor/class.ilSCORM2004Item.php");
1446 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Sco.php");
1447 $t = $this->
object->getTree();
1448 $root_node =
$t->getNodeData(
$t->getRootId());
1449 $nodes = $this->
object->getTree()->getSubtree($root_node);
1450 foreach ($nodes as $node)
1452 if (in_array($node[
"type"],
array(
"",
"chap",
"sco")))
1454 if ($node[
"type"] ==
"")
1462 $xml =
'<?xml version="1.0"?>'.ilUtil::stripSlashes(
$_POST[
"seq"][$node[
"child"]],
false);
1464 $ob_texts =
array();
1465 if ($node[
"type"] ==
"sco")
1468 $objectives = $sco->getObjectives();
1469 foreach ($objectives as $o)
1471 $ob_texts[$o->getId()] = $o->getObjectiveId();
1475 $item->setSeqXml($xml);
1479 if ($node[
"type"] ==
"sco")
1481 foreach ($ob_texts as $id =>
$t)
1483 $objective =
new ilScorm2004Objective($node[
"child"], $id);
1484 $objective->setObjectiveId(
$t);
1485 $objective->updateObjective();
1493 $ilCtrl->redirect($this,
"showSequencing");
1503 $chaps = $this->
object->getTree()->getChilds(
1504 $this->
object->getTree()->getRootId());
1506 foreach($chaps as $chap)
1508 if ($chap[
"type"] ==
"chap")
1510 $s_chaps[$chap[
"child"]] = $chap[
"title"];
1517 $ilToolbar->setFormAction($ilCtrl->getFormAction($this));
1518 include_once(
"./Services/Form/classes/class.ilSelectInputGUI.php");
1520 "0" => $lng->txt(
"all")
1524 $si->setOptions($options);
1525 $si->setValue($cur_chap);
1526 $ilToolbar->addInputItem(
$si,
true);
1527 $ilToolbar->addFormButton($lng->txt(
"change"),
"selectLObjChapter");
1529 include_once(
"./Modules/Scorm2004/classes/class.ilObjectivesAlignmentTableGUI.php");
1532 $tpl->setContent($obj_table->getHTML());
1540 $ilCtrl->redirect($this,
"showLearningObjectivesAlignment");
1548 switch (
$_POST[
'select_export'])
1550 case "exportScorm12":
1551 case "exportScorm2004_3rd":
1552 case "exportScorm2004_4th":
1556 case "exportHTMLOne":
1557 $this->ctrl->redirect($this,
$_POST[
'select_export']);
1560 $this->ctrl->redirect($this,
'showExportList');
1570 global
$tpl, $ilToolbar;
1572 $ilToolbar->setFormAction($this->ctrl->getFormAction($this,
'selectExport'));
1573 $ilToolbar->setId(
"scorm2004export");
1587 "exportScorm2004_3rd" => $this->lng->txt(
"scorm_create_export_file_scrom2004"),
1588 "exportScorm2004_4th" => $this->lng->txt(
"scorm_create_export_file_scrom2004_4th"),
1589 "exportScorm12" => $this->lng->txt(
"scorm_create_export_file_scrom12"),
1590 "exportHTML" => $this->lng->txt(
"scorm_create_export_file_html"),
1591 "exportHTMLOne" => $this->lng->txt(
"scorm_create_export_file_html_one")
1595 include_once(
"./Services/Form/classes/class.ilSelectInputGUI.php");
1597 $si->setOptions($buttons);
1598 $ilToolbar->addInputItem(
$si,
true);
1600 $ilToolbar->addFormButton($this->lng->txt(
'export'),
"selectExport");
1602 $export_files = $this->
object->getExportFiles();
1604 include_once
"./Modules/Scorm2004/classes/class.ilSCORM2004ExportTableGUI.php";
1607 foreach ($export_files as $exp_file)
1609 $filetype = $exp_file[
'type'];
1610 $public_str = ($exp_file[
"file"] == $this->
object->getPublicExportFile($filetype))
1611 ?
" <b>(".$this->lng->txt(
"public").
")<b>" 1613 $file_arr = explode(
"__", $exp_file[
"file"]);
1616 $table_gui->setData(
$data);
1618 $this->tpl->setContent($table_gui->getHTML());
1628 global $ilAccess, $ilHelp;
1630 if ($this->ctrl->getCmd() ==
"delete")
1635 if (!$this->
object->getEditable())
1637 return parent::getTabs();
1640 $ilHelp->setScreenIdComponent(
"sahsed");
1643 $this->tabs_gui->addTarget(
"sahs_organization",
1644 $this->ctrl->getLinkTarget($this,
"showOrganization"),
"showOrganization",
1648 $force_active = ($this->ctrl->getNextClass() ==
"ilinfoscreengui")
1651 $this->tabs_gui->addTarget(
"info_short",
1652 $this->ctrl->getLinkTargetByClass(
"ilinfoscreengui",
"showSummary"),
"",
1653 "ilinfoscreengui",
"", $force_active);
1656 $this->tabs_gui->addTarget(
"settings",
1657 $this->ctrl->getLinkTarget($this,
"properties"),
"properties",
1668 $this->tabs_gui->addTarget(
"sahs_objectives_alignment",
1669 $this->ctrl->getLinkTarget($this,
"showLearningObjectivesAlignment"),
"showLearningObjectivesAlignment",
1673 $this->tabs_gui->addTarget(
"sahs_sequencing",
1674 $this->ctrl->getLinkTarget($this,
"showSequencing"),
"showSequencing",
1690 include_once
"Services/Object/classes/class.ilObjectMetaDataGUI.php";
1692 $mdtab = $mdgui->getTab();
1695 $this->tabs_gui->addTarget(
"meta_data",
1697 "",
"ilmdeditorgui");
1701 $this->tabs_gui->addTarget(
"export",
1702 $this->ctrl->getLinkTarget($this,
"showExportList"),
array(
"showExportList",
'confirmDeleteExportFile'),
1706 if ($ilAccess->checkAccess(
'edit_permission',
'', $this->object->getRefId()))
1708 $this->tabs_gui->addTarget(
"perm_settings",
1709 $this->ctrl->getLinkTargetByClass(
array(get_class($this),
'ilpermissiongui'),
"perm"),
array(
"perm",
"info",
"owner"),
'ilpermissiongui');
1712 if ($this->
object->editable==1)
1715 $this->tabs_gui->addNonTabbedLink(
"preview",
1716 $this->lng->txt(
"cont_sc_preview"),
1717 $this->ctrl->getLinkTarget($this,
"preview"),
1730 if ($a_main_tab ==
"settings" &&
1731 $this->
object->editable == 1)
1743 $ilTabs->activateSubTab($a_active);
1755 $slm_tree->setTableNames(
'sahs_sc13_tree',
'sahs_sc13_tree_node');
1763 $a_title =
"", $a_icon =
"", $a_gui_obj = null, $a_gui_cmd =
"")
1767 if ($a_form_action ==
"")
1769 $a_form_action = $ilCtrl->getFormAction($this);
1774 $a_title = $this->
object->getTitle();
1780 if ($a_top_node == 0)
1782 $a_top_node = $slm_tree->getRootId();
1785 if (is_null($a_gui_obj))
1788 $a_gui_cmd =
"showOrganization";
1791 $ilCtrl->setParameter($this,
"backcmd",
"showOrganization");
1792 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004OrganizationHFormGUI.php");
1794 $form_gui->setParentCommand($a_gui_obj, $a_gui_cmd);
1795 $form_gui->setFormAction($a_form_action);
1798 $form_gui->setTree($slm_tree);
1799 $form_gui->setCurrentTopNodeId($a_top_node);
1800 $form_gui->addMultiCommand($lng->txt(
"delete"),
"deleteNodes");
1801 $form_gui->addMultiCommand($lng->txt(
"cut"),
"cutItems");
1802 $form_gui->addMultiCommand($lng->txt(
"copy"),
"copyItems");
1803 $form_gui->addCommand($lng->txt(
"cont_save_all_titles"),
"saveAllTitles");
1804 $form_gui->addCommand($lng->txt(
"expand_all"),
"expandAll");
1805 $form_gui->addCommand($lng->txt(
"collapse_all"),
"collapseAll");
1806 $form_gui->setTriggeredUpdateCommand(
"saveAllTitles");
1809 if (
$_GET[
"highlight"] !=
"")
1811 $hl = explode(
":",
$_GET[
"highlight"]);
1812 $form_gui->setHighlightedNodes($hl);
1813 $form_gui->setFocusId($hl[0]);
1816 $ilCtrl->setParameter($this,
"active_node",
$_GET[
"obj_id"]);
1819 $sc_tpl =
new ilTemplate(
"tpl.scormeditor_orga_screen.html",
true,
true,
"Modules/Scorm2004");
1820 $sc_tpl->setVariable(
"ORGANIZATION", $form_gui->getHTML());
1823 $tpl->setContent($sc_tpl->get());
1834 $ilCtrl->setParameter($this,
"nodes_mode", $a_mode);
1835 include_once(
"Services/Notes/classes/class.ilNoteGUI.php");
1836 $node_id =
$_GET[
"obj_id"];
1837 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Node.php");
1838 $node_type = ($node_id > 0)
1843 (int) $node_id, $node_type);
1844 if ($ilAccess->checkAccess(
"write",
"",
$_GET[
"ref_id"]) && $ilSetting->get(
"comments_del_tutor", 1))
1846 $notes_gui->enablePublicNotesDeletion(
true);
1848 $notes_gui->enablePrivateNotes();
1849 $notes_gui->enablePublicNotes();
1851 $next_class = $ilCtrl->getNextClass($this);
1852 if ($next_class ==
"ilnotegui")
1854 $html = $this->ctrl->forwardCommand($notes_gui);
1858 $html = $notes_gui->getNotesHTML();
1870 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004OrganizationHFormGUI.php");
1874 $slm_tree->setTableNames(
'sahs_sc13_tree',
'sahs_sc13_tree_node');
1881 $parent_id = $slm_tree->getParentId($node_id);
1886 $parent_id = $node_id;
1889 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Chapter.php");
1890 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Node.php");
1892 $chap_ids =
array();
1893 for ($i = 1; $i <= $num; $i++)
1896 $chap->setTitle($lng->txt(
"sahs_new_chapter"));
1897 $chap->setSLMId($this->
object->getId());
1900 $chap_ids[] = $chap->getId();
1902 $chap_ids = array_reverse($chap_ids);
1903 $chap_ids = implode($chap_ids,
":");
1907 $ilCtrl->setParameter($this,
"highlight", $chap_ids);
1908 $ilCtrl->redirect($this,
"showOrganization",
"node_".$node_id);
1910 return array(
"node_id" => $node_id,
"items" => $chap_ids);
1920 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004OrganizationHFormGUI.php");
1924 $slm_tree->setTableNames(
'sahs_sc13_tree',
'sahs_sc13_tree_node');
1929 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Sco.php");
1930 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Node.php");
1934 $parent_id = $slm_tree->getParentId($node_id);
1939 $parent_id = $node_id;
1944 for ($i = 1; $i <= $num; $i++)
1947 $sco->setTitle($lng->txt(
"sahs_new_sco"));
1948 $sco->setSLMId($this->
object->getId());
1951 $sco_ids[] = $sco->getId();
1953 $sco_ids = array_reverse($sco_ids);
1954 $sco_ids = implode($sco_ids,
":");
1958 $ilCtrl->setParameter($this,
"highlight", $sco_ids);
1959 $ilCtrl->redirect($this,
"showOrganization",
"node_".$node_id);
1961 return array(
"node_id" => $node_id,
"items" => $sco_ids);
1971 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004OrganizationHFormGUI.php");
1975 $slm_tree->setTableNames(
'sahs_sc13_tree',
'sahs_sc13_tree_node');
1980 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Asset.php");
1981 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Node.php");
1985 $parent_id = $slm_tree->getParentId($node_id);
1990 $parent_id = $node_id;
1995 for ($i = 1; $i <= $num; $i++)
1998 $ass->setTitle($lng->txt(
"sahs_new_asset"));
1999 $ass->setSLMId($this->
object->getId());
2002 $ass_ids[] = $ass->getId();
2004 $ass_ids = array_reverse($ass_ids);
2005 $ass_ids = implode($ass_ids,
":");
2009 $ilCtrl->setParameter($this,
"highlight", $ass_ids);
2010 $ilCtrl->redirect($this,
"showOrganization",
"node_".$node_id);
2012 return array(
"node_id" => $node_id,
"items" => $ass_ids);
2022 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004OrganizationHFormGUI.php");
2026 $slm_tree->setTableNames(
'sahs_sc13_tree',
'sahs_sc13_tree_node');
2031 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004PageNode.php");
2032 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Node.php");
2035 $parent_id = $slm_tree->getParentId($node_id);
2040 $parent_id = $node_id;
2044 $page_ids =
array();
2045 for ($i = 1; $i <= $num; $i++)
2048 $page->setTitle($lng->txt(
"sahs_new_page"));
2049 $page->setSLMId($this->
object->getId());
2052 $page_ids[] = $page->getId();
2054 $page_ids = array_reverse($page_ids);
2055 $page_ids = implode($page_ids,
":");
2059 $ilCtrl->setParameter($this,
"highlight", $page_ids);
2060 $ilCtrl->redirect($this,
"showOrganization",
"node_".$node_id);
2062 return array(
"node_id" => $node_id,
"items" => $page_ids);
2074 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004OrganizationHFormGUI.php");
2075 include_once(
"./Modules/Scorm2004/classes/seq_editor/class.ilSCORM2004SeqTemplate.php");
2077 $templates =
array();
2078 $description = null;
2081 $default_identifier =
$_POST[
"identifier"];
2086 $this->tpl->addBlockFile(
"ADM_CONTENT",
"adm_content",
"tpl.scormeditor_seq_chooser.html",
"Modules/Scorm2004");
2088 $this->tpl->setCurrentBlock(
"option_item");
2091 foreach ($arr_templates as $templ)
2094 $item_data = $templ->getMetadataProperties();
2095 $item_data[
'identifier'] = $templ->getIdentifier();
2096 array_push($templates,$item_data);
2097 if ($default_identifier == $item_data[
'identifier']) {$sel =
'selected'; $active = $item_data;}
2098 $this->tpl->setVariable(
"VAL_SELECTED",$sel );
2099 $this->tpl->setVariable(
"VAL_IDENTIFIER",$item_data[
'identifier'] );
2100 $this->tpl->setVariable(
"VAL_TITLE",$item_data[
'title'] );
2101 $this->tpl->parseCurrentBlock();
2105 if ($active == null )
2108 $description = $templates[0][
'description'];
2109 $image = $templates[0][
'thumbnail'];
2111 $description = $active[
'description'];
2112 $image = $active[
'thumbnail'];
2115 $this->tpl->setVariable(
"VAL_DESCRIPTION",$description);
2118 $this->tpl->setVariable(
"FORMACTION", $this->ctrl->getFormAction($this));
2119 $this->tpl->setVariable(
"BTN_NAME",
"insertScenario");
2120 $this->tpl->setVariable(
"TXT_CANCEL", $this->lng->txt(
"cancel"));
2121 $this->tpl->setVariable(
"TXT_INSERT", $this->lng->txt(
"insert"));
2122 $this->tpl->setVariable(
"TXT_CHANGE", $this->lng->txt(
"change"));
2124 $this->tpl->setVariable(
"TXT_TITLE",
"Choose Sequencing Template");
2126 $node_id =
$_POST[
"node_id"];
2127 $first_child =
$_POST[
"first_child"];
2132 $this->tpl->setVariable(
"VAL_NODE_ID", $node_id);
2133 $this->tpl->setVariable(
"VAL_FIRST_CHILD", $first_child);
2145 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004OrganizationHFormGUI.php");
2149 $slm_tree->setTableNames(
'sahs_sc13_tree',
'sahs_sc13_tree_node');
2151 $node_id =
$_POST[
"node_id"];
2153 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004PageNode.php");
2154 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Node.php");
2155 include_once(
"./Modules/Scorm2004/classes/seq_editor/class.ilSCORM2004SeqTemplate.php");
2157 if (!
$_POST[
"first_child"])
2159 $parent_id = $slm_tree->getParentId($node_id);
2164 $parent_id = $node_id;
2169 $id = $template->insertTemplateForObjectAtParent($this->
object,$parent_id,
$target);
2170 $ilCtrl->setParameter($this,
"highlight", $id);
2171 $ilCtrl->redirect($this,
"showOrganization",
"node_".$node_id);
2191 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004OrganizationHFormGUI.php");
2195 $this->tpl->addBlockFile(
"ADM_CONTENT",
"adm_content",
"tpl.scormeditor_page_layout_chooser.html",
"Modules/Scorm2004");
2197 $this->tpl->setCurrentBlock(
"option_item");
2200 foreach ($arr_templates as $templ)
2204 $templ->readObject();
2205 $this->tpl->setVariable(
"VAL_LAYOUT_TITLE",$templ->getTitle());
2206 $this->tpl->setVariable(
"VAL_LAYOUT_IMAGE",$templ->getPreview());
2207 $this->tpl->setVariable(
"VAL_LAYOUT_ID",$templ->getId());
2208 $this->tpl->setVariable(
"VAL_DISPLAY",
"inline");
2210 $this->tpl->setVariable(
"VAL_CHECKED",
"checked");
2212 if ($count%4 == 0) {
2213 $this->tpl->setVariable(
"END_ROW",
"</tr>");
2215 if ($count == 1 || ($count-1)%4 == 0) {
2216 $this->tpl->setVariable(
"BEGIN_ROW",
"<tr>");
2218 $this->tpl->parseCurrentBlock();
2223 $rest = 4-($count%4);
2228 for ($i=1;$i<=
$rest;$i++) {
2229 $this->tpl->setVariable(
"VAL_DISPLAY",
"none");
2230 $this->tpl->setVariable(
"VAL_LAYOUT_ID",$templ->getId());
2233 $this->tpl->setVariable(
"END_ROW",
"</tr>");
2235 $this->tpl->parseCurrentBlock();
2245 $ilCtrl->saveParameter($this,
"obj_id");
2247 $this->tpl->setVariable(
"FORMACTION", $this->ctrl->getFormAction($this));
2249 $this->tpl->setVariable(
"BTN_NAME",
"insertTemplate");
2250 $this->tpl->setVariable(
"TXT_CANCEL", $this->lng->txt(
"cancel"));
2251 $this->tpl->setVariable(
"TXT_INSERT", $this->lng->txt(
"create"));
2252 $this->tpl->setVariable(
"CMD_CANCEL",
"showOrganization");
2254 $this->tpl->setVariable(
"TXT_CANCEL", $this->lng->txt(
"cancel"));
2255 $this->tpl->setVariable(
"TXT_INSERT", $this->lng->txt(
"insert"));
2256 $this->tpl->setVariable(
"TXT_CHANGE", $this->lng->txt(
"change"));
2257 if ($a_special_page)
2259 $this->tpl->setVariable(
"TXT_TITLE", $this->lng->txt(
"sahs_choose_special_page"));
2263 $this->tpl->setVariable(
"TXT_TITLE", $this->lng->txt(
"sahs_choose_page_template"));
2276 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004OrganizationHFormGUI.php");
2280 $slm_tree->setTableNames(
'sahs_sc13_tree',
'sahs_sc13_tree_node');
2283 $node_id =
$_POST[
"node_id"];
2284 $layout_id =
$_POST[
"layout_id"];
2287 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004PageNode.php");
2288 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Node.php");
2290 if (!
$_POST[
"first_child"])
2292 $parent_id = $slm_tree->getParentId($node_id);
2297 $parent_id = $node_id;
2301 $page_ids =
array();
2302 for ($i = 1; $i <= $num; $i++)
2305 $page->setTitle($lng->txt(
"sahs_new_page"));
2306 $page->setSLMId($this->
object->getId());
2307 $page->create(
false,$layout_id);
2309 $page_ids[] = $page->getId();
2311 $page_ids = array_reverse($page_ids);
2312 $page_ids = implode($page_ids,
":");
2316 if (
$_GET[
"obj_id"] !=
"")
2322 $ilCtrl->setParameter($this,
"highlight", $page_ids);
2323 $ilCtrl->redirect($this,
"showOrganization",
"node_".$node_id);
2333 $_GET[
"scexpand"] =
"";
2334 $mtree = $this->
object->getTree();
2335 $n_id = (
$_GET[
"obj_id"] > 0)
2337 : $mtree->readRootId();
2338 $stree = $mtree->getSubTree($mtree->getNodeData($n_id));
2340 foreach ($stree as
$n)
2342 $n_arr[] = $n[
"child"];
2353 $_GET[
"scexpand"] =
"";
2354 $mtree = $this->
object->getTree();
2355 $n_id = (
$_GET[
"obj_id"] > 0)
2357 : $mtree->readRootId();
2358 $stree = $mtree->getSubTree($mtree->getNodeData($n_id));
2360 foreach ($stree as
$n)
2362 if (in_array($n[
"child"],
$old) && $n[
"child"] != $n_id)
2364 $k = array_search($n[
"child"],
$old);
2379 if (is_array(
$_POST[
"title"]))
2381 include_once(
"./Services/MetaData/classes/class.ilMD.php");
2382 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004NodeFactory.php");
2386 if (is_object($node_obj))
2389 $md =
new ilMD($this->
object->getId(), $id, $node_obj->getType());
2400 $ilCtrl->redirect($this,
"showOrganization");
2415 $this->
ilias->raiseError($this->lng->txt(
"no_checkbox"),$this->
ilias->error_obj->MESSAGE);
2421 include_once(
"./Services/Utilities/classes/class.ilConfirmationGUI.php");
2424 if ($a_form_action ==
"")
2427 ?
"showOrganization" 2429 $this->ctrl->setParameter($this,
"backcmd",
$cmd);
2430 $a_form_action = $this->ctrl->getFormAction($this);
2432 $confirmation_gui->setFormAction($a_form_action);
2433 $confirmation_gui->setHeaderText($this->lng->txt(
"info_delete_sure"));
2436 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004NodeFactory.php");
2437 foreach(
$_POST[
"id"] as $id)
2442 $confirmation_gui->addItem(
"id[]", $node_obj->getId(),
2447 $confirmation_gui->setCancel($lng->txt(
"cancel"),
"cancelDelete");
2448 $confirmation_gui->setConfirm($lng->txt(
"confirm"),
"confirmedDelete");
2450 $tpl->setContent($confirmation_gui->getHTML());
2458 $this->ctrl->redirect($this,
$_GET[
"backcmd"]);
2469 $tree->setTableNames(
'sahs_sc13_tree',
'sahs_sc13_tree_node');
2470 $tree->setTreeTablePK(
"slm_id");
2473 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004NodeFactory.php");
2474 foreach (
$_POST[
"id"] as $id)
2479 $node_data =
$tree->getNodeData($id);
2480 if (is_object($obj))
2482 $obj->setSLMId($this->
object->getId());
2491 if(
$tree->isInTree($id))
2493 $tree->deleteTree($node_data);
2506 $ilCtrl->redirect($this,
"showOrganization");
2517 $this->
object->executeDragDrop(
$_POST[
"il_hform_source_id"],
$_POST[
"il_hform_target_id"],
2519 $ilCtrl->redirect($this,
"showOrganization");
2529 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Node.php");
2533 foreach($items as $k => $item)
2540 foreach($todel as $k)
2547 $ilCtrl->redirect($this, $a_return);
2552 include_once(
"./Modules/LearningModule/classes/class.ilEditClipboard.php");
2556 $ilCtrl->redirect($this, $a_return);
2566 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Node.php");
2570 foreach($items as $k => $item)
2577 foreach($todel as $k)
2585 $ilCtrl->redirect($this, $a_return);
2590 include_once(
"./Modules/LearningModule/classes/class.ilEditClipboard.php");
2595 $ilCtrl->redirect($this, $a_return);
2605 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Node.php");
2608 $ilCtrl->redirect($this,
"showOrganization",
2619 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Node.php");
2622 $ilCtrl->redirect($this,
"showOrganization",
2633 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Node.php");
2636 $ilCtrl->redirect($this,
"showOrganization",
2647 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Node.php");
2650 $ilCtrl->redirect($this,
"showOrganization",
2661 include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004OrganizationHFormGUI.php");
2667 $pf.=
'<input type="hidden" name="'.$f.
'" value="'.$v.
'" />';
2669 if ($a_confirm && is_array(
$_POST[
"node"]))
2671 foreach (
$_POST[
"node"] as $f => $v)
2673 $pf.=
'<input type="hidden" name="node['.$f.
']" value="'.$v.
'" />';
2681 include_once(
"./Modules/Scorm2004/classes/class.ilLMChapterImportForm.php");
2683 $tpl->setContent($form->getHTML().$pf.
"</form>");
2685 $ilTabs->clearTargets();
2686 $ilToolbar->setFormAction($ilCtrl->getFormAction($this));
2689 if ($form->isCorrect())
2691 $ilToolbar->addFormButton($lng->txt(
"insert"),
"performLMChapterInsert");
2693 $ilToolbar->addFormButton($lng->txt(
"back"),
"insertLMChapterClip");
2697 $ilToolbar->addFormButton($lng->txt(
"check"),
"confirmLMChapterInsert");
2699 $ilToolbar->addFormButton($lng->txt(
"cancel"),
"showOrganization");
2700 $ilToolbar->setCloseFormTag(
false);
2720 include_once(
"./Modules/Scorm2004/classes/class.ilLMChapterImportForm.php");
2722 $form->performInserts();
2724 $this->ctrl->redirect($this,
"showOrganization");
2730 $export->buildExportFile();
2732 $this->ctrl->redirect($this,
"showExportList");
2738 $export->buildExportFile();
2740 $this->ctrl->redirect($this,
"showExportList");
2746 $export->buildExportFile();
2748 $this->ctrl->redirect($this,
"showExportList");
2754 $export->buildExportFile();
2756 $this->ctrl->redirect($this,
"showExportList");
2762 $export->buildExportFile();
2764 $this->ctrl->redirect($this,
"showExportList");
2770 if(!$export->buildExportFile())
2772 if(!PATH_TO_MKISOFS)
2773 $this->
ilias->raiseError($this->lng->txt(
"no_mkisofs_configured"),$this->
ilias->error_obj->MESSAGE);
2775 $this->ctrl->redirect($this,
"showExportList");
2781 $export->buildExportFile();
2782 $this->ctrl->redirect($this,
"showExportList");
2787 $export =
new ilSCORM2004Export($this->
object);
2789 $export_dir = $export->getExportDirectoryForType(
$_GET[
'type']);
2798 if(!isset(
$_POST[
"file"]))
2801 $this->ctrl->redirect($this,
"showExportList");
2805 $export_files = $this->
object->getExportFiles();
2807 include_once
"./Modules/Scorm2004/classes/class.ilSCORM2004ExportTableGUI.php";
2810 foreach ($export_files as $exp_file)
2812 foreach (
$_POST[
'file'] as $delete_file)
2814 if (strcmp($delete_file, $exp_file[
'file']) == 0)
2816 $public_str = ($exp_file[
"file"] == $this->
object->getPublicExportFile($exp_file[
"type"]))
2817 ?
" <b>(".$this->lng->txt(
"public").
")<b>" 2819 $file_arr = explode(
"__", $exp_file[
"file"]);
2824 $table_gui->setData(
$data);
2825 $this->tpl->setVariable(
'ADM_CONTENT', $table_gui->getHTML());
2834 $this->ctrl->redirect($this,
"showExportList");
2843 include_once
"./Services/Utilities/classes/class.ilUtil.php";
2844 $export =
new ilSCORM2004Export($this->
object);
2847 $export_dir = $export->getExportDirectoryForType(
$_POST[
'type'][$idx]);
2848 $exp_file = $export_dir.
"/".
$file;
2849 if (@is_file($exp_file))
2855 $this->ctrl->redirect($this,
"showExportList");
2863 if(!isset(
$_POST[
"file"]))
2865 $this->
ilias->raiseError($this->lng->txt(
"no_checkbox"),$this->
ilias->error_obj->MESSAGE);
2867 if (count(
$_POST[
"file"]) > 1)
2869 $this->
ilias->raiseError($this->lng->txt(
"cont_select_max_one_item"),$this->
ilias->error_obj->MESSAGE);
2872 $export =
new ilSCORM2004Export($this->
object);
2876 if ($this->
object->getPublicExportFile($type) ==
$file)
2878 $this->
object->setPublicExportFile($type,
"");
2882 $this->
object->setPublicExportFile($type,
$file);
2884 $this->
object->update();
2885 $this->ctrl->redirect($this,
"showExportList");
2896 $zipfile = $export->buildExportFile();
2897 $zipPathinfo = pathinfo($zipfile);
2898 $file_path = $this->
object->getDataDirectory().
"/".($zipPathinfo[
"basename"]);
2899 copy($zipfile,$file_path);
2906 include_once (
"./Modules/Scorm2004/classes/ilSCORM13Package.php");
2908 $rte_pkg->il_import($this->
object->getDataDirectory(),$this->
object->getId(),
$ilias,
false,
true);
2915 ilUtil::redirect(
"ilias.php?baseClass=ilSAHSPresentationGUI&ref_id=".$this->
object->getRefID().
"&envEditor=1");
cancelDeleteExportFile()
cancel deletion of export files
insertLMChapterClip($a_confirm=false, $a_perform=false)
Insert chapter from clipboard.
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
Select file for being added into file lists.
Class ilSCORM2004Condition.
jumpToNode($a_anchor_node="", $a_highlight_ids="")
setSelectableTypes($a_types)
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
This class represents an option in a radio group.
Class ilSCORM2004PageNode.
Class ilObjSCORMLearningModuleGUI.
getNotesHTML($a_mode="")
Get notes HTML.
deleteStyle()
Delete Style.
insertTemplate($a_redirect=true)
Insert (multiple) pages at node.
createGlossary()
Create glossary.
static putInTree($a_obj, $a_parent_id="", $a_target_node_id="")
put this object into content object tree
static clipboardCopy($a_slm_obj_id, $a_ids)
Copy a set of chapters/pages/scos into the clipboard.
insertScenarioGUI()
Insert sequencing scenario at node.
TableGUI class for learning objectives alignments.
setValue($a_value)
Set Value.
insertSpecialPage($a_redirect=true)
Insert special page.
insertChapter($a_redirect=true)
Insert (multiple) chapters at node.
detachGlossary()
Detach glossary.
initPropertiesEditableForm()
Init properties (editable) form.
saveProperties()
save scorm 2004 module properties
static _exists($a_id, $a_reference=false, $a_type=null)
checks if an object exists in object_data
static getStyleSheetLocation($mode="output", $a_css_name="", $a_css_location="")
get full style sheet file name (path inclusive) of current user
saveGlossary()
Save glossary form.
static clipboardCut($a_slm_obj_id, $a_ids)
Cut and copy a set of chapters/pages into the clipboard.
Class ilSCORM2004TrackingItemsPerUserFilterGUI.
copyItems($a_return="showOrganization")
Copy items to clipboard.
saveAllTitles($a_redirect=true)
Save all titles of chapters/scos/pages.
static _getStandardStyles($a_exclude_default_style=false, $a_include_deactivated=false, $a_scope=0)
Get standard styles.
insertChapterClip()
Insert chapter from clipboard.
setValue($a_value)
Set Value.
static unzip($a_file, $overwrite=false, $a_flat=false)
unzip file
insertSco($a_redirect=true)
Insert (multiple) scos at node.
getTemplate()
output main header (title and locator)
Class ilSCORM2004Chapter.
deleteNodes($a_form_action="")
confirm deletion screen of chapters/scos/pages
static _lookupTitle($a_id)
lookup object title
insertPage($a_redirect=true)
Insert (multiple) pages at node.
static insertPageClip($a_slm_obj)
Insert pages from clipboard.
cutItems($a_return="showOrganization")
Copy items to clipboard, then cut them from the current tree.
activateExpertMode()
Activate expert mode.
static insertScoClip($a_slm_obj)
Insert scos from clipboard.
insertScenario()
Insert sequencing scenario at node.
setSettingsSubTabs()
set Tabs for settings
static checkIfAnyoneIsInOfflineMode($obj_id)
__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output=true)
Constructor.
static _lookupSubType($a_obj_id)
lookup subtype id (scorm, aicc, hacp)
expandAll($a_redirect=true)
Expand all.
showTree()
Show Editing Tree.
frameset($a_to_organization=false)
output main frameset of media pool left frame: explorer tree of folders right frame: media pool conte...
static _lookupStandard($a_id)
Lookup standard flag.
insertAssetClip()
Insert assets from clipboard.
Class ilSCORM2004TrackingItemsPerScoFilterGUI.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
if(!is_dir( $entity_dir)) exit("Fatal Error ([A-Za-z0-9]+)\+" &#(? foreach( $entity_files as $file) $output
Class ilSCORM2004TrackingItemsTableGUI.
setValue($a_value)
Set Value.
if(!is_array($argv)) $options
static getInstance($a_slm_object, $a_id=0, $a_halt=true)
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
static formSelect($selected, $varname, $options, $multiple=false, $direct_text=false, $size="0", $style_class="", $attribs="", $disabled=false)
Builds a select form field with options and shows the selected option first.
initStylePropertiesForm()
Init style properties form.
static _lookupType($a_obj_id)
Lookup Type.
confirmDeleteExportFile()
confirmation screen for export file deletion
static _lookupObjId($a_id)
special template class to simplify handling of ITX/PEAR
insertTemplateGUI($a_redirect=true, $a_special_page=false)
Displays GUI to select template for page.
This class represents a text property in a property form.
static formatDate(ilDateTime $date)
Format a date public.
setSubTabs($a_main_tab="", $a_active="")
Set sub tabs.
Class ilSCORM2004PageNodeGUI.
redirection script todo: (a better solution should control the processing via a xml file) ...
createStyle()
Create Style.
getPropertiesEditableValues()
Get current values for properties (editable) from.
Export class for SCORM 2004 object.
static clear($a_var)
Unset a value.
showLearningObjectivesAlignment()
Show Learning Objectives Alignment.
setMaxLength($a_maxlength)
Set Max Length.
setTableNames($a_table_tree, $a_table_obj_data, $a_table_obj_reference="")
set table names The primary key of the table containing your object_data must be 'obj_id' You may use...
getID()
Return the unique ID value assigned to this spreadsheet workbook.
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
static sendQuestion($a_info="", $a_keep=false)
Send Question to Screen.
static uniqueTypesCheck($a_items)
Check for unique types (all pages or all chapters or all scos)
static availableTemplates()
static deliverFile($a_file, $a_filename, $a_mime='', $isInline=false, $removeAfterDelivery=false, $a_exit_after=true)
deliver file for download via browser.
collapseAll($a_redirect=true)
Collapse all.
initGlossaryCreationForm()
Init glossary creation form.
saveStyleSettings()
Save style settings.
Tree class data representation in hierachical trees using the Nested Set Model with Gaps by Joe Celco...
editOrganization($a_to_organization=true)
Edit organization (called from listgui, must setup frameset)
getTabs()
Adds tabs to tab gui object.
Create styles array
The data for the language used.
static _lookupType($a_id, $a_reference=false)
lookup object type
setTreeTablePK($a_column_name)
set column containing primary key in tree table public
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
showOrganization($a_top_node=0, $a_form_action="", $a_title="", $a_icon="", $a_gui_obj=null, $a_gui_cmd="")
Show subhiearchy of chapters, scos and pages.
Class ilSCORM2004Chapter.
static stripSlashesArray($a_arr, $a_strip_html=true, $a_allow="")
Strip slashes from array.
showTrackingItemsBySco()
show tracking data
insertPageClip()
Insert pages from clipboard.
saveSequencing()
Save sequencing.
showSequencing()
Show Sequencing.
insertScoClip()
Insert scos from clipboard.
selectExport()
Select the export type of the SCORM 2004 module.
editStyleProperties()
Edit Stlye Properties.
static getParticipantsForObject($a_ref_id)
Get participant ids for given object.
This class represents a non editable value in a property form.
SCORM editor explorer GUI class.
static insertChapterClip($a_slm_obj, $a_as_sub=false)
Insert Chapter from clipboard.
Create new PHPExcel object
obj_idprivate
static renameExecutables($a_dir)
Rename uploaded executables for security reasons.
proceedDragDrop()
Perform drag and drop action.
Class ilObjSCORM2004LearningModule.
This class represents a text area property in a property form.
Class ilSCORM2004ChapterGUI.
confirmedDelete($a_redirect=true)
Delete chapters/scos/pages.
assignObject()
assign scorm object to scorm gui object
static initjQuery($a_tpl=null)
Init jQuery.
static activeLayouts($a_special_page=false, $a_module=null)
Get active layouts.
insertAsset($a_redirect=true)
Insert (multiple) assets at node.
cancelDelete()
cancel delete
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file
Class ilSCORM2004ChapterGUI.
confirmLMChapterInsert()
Confirm lm chapter insert.
showExportList()
Show Export List.
static yn2tf($a_yn)
convert "y"/"n" to true/false
static _writeTitle($a_obj_id, $a_title)
Write Title.
static setAction($a_action)
static redirect($a_script)
http redirect to other script
addHeaderAction()
Add header action menu.
initPropertiesForm()
Initialize properties form.
deleteExportFile()
delete export files
static insertAssetClip($a_slm_obj, $a_type="ass")
Insert assets from clipboard.
Class ilSCORM2004AssetGUI.
assignGlossary()
Assign glossary.
performLMChapterInsert()
Perform lm chapter insert.
selectGlossary()
Select glossary.
getEditTree()
Get editing tree object.
properties()
Scorm 2004 module properties.
Confirmation screen class.
Class ilObjSCORMLearningModuleGUI.
confirmExpertMode()
Confirm activation of expert mode.
executeCommand()
execute command