/** * Constructor * @access public * @param string scriptname * @param int user_id */ function ilLMTOCExplorer($a_target, $a_lm_obj, $a_lang = "-") { $this->offline = false; $this->force_open_path = array(); parent::ilLMExplorer($a_target, $a_lm_obj, $a_lang); $this->lm_set = new ilSetting("lm"); }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function ilLMEditorExplorer($a_target, &$a_lm_obj, $a_gui_class) { global $ilCtrl; $this->ctrl =& $ilCtrl; $this->gui_class = $a_gui_class; $this->force_open_path = array(); parent::ilLMExplorer($a_target, $a_lm_obj); }
/** * Constructor * @access public * @param string scriptname * @param object lm object * @param string gui class name */ function ilPublicSectionSelector($a_target, &$a_lm_obj, $a_gui_class) { global $ilCtrl; $this->ctrl =& $ilCtrl; $this->gui_class = $a_gui_class; parent::ilLMExplorer($a_target, $a_lm_obj); $this->forceExpandAll(true); $this->setSessionExpandVariable("lmpublicselectorexpand"); }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function ilTableOfContentsExplorer($a_target, &$a_lm_obj, $a_export_format = "") { parent::ilLMExplorer($a_target, $a_lm_obj); $this->setSessionExpandVariable("lmtocexpand"); $this->export_format = $a_export_format; $this->lm_obj =& $a_lm_obj; $this->addFilter("du"); $this->addFilter("st"); if ($a_lm_obj->getTOCMode() == "pages") { $this->addFilter("pg"); } $this->setFiltered(true); $this->setFilterMode(IL_FM_POSITIVE); $this->lm_set = new ilSetting("lm"); // Determine whether the view of a learning resource should // be shown in the frameset of ilias, or in a separate window. //$showViewInFrameset = $this->ilias->ini->readVariable("layout","view_target") == "frame"; $showViewInFrameset = true; if ($showViewInFrameset) { $this->setFrameTarget(ilFrameTargetInfo::_getFrame("MainContent")); } else { $this->setFrameTarget("_top"); } }