/** * Constructor * @access public * @param string scriptname * @param int user_id */ function ilRepositoryExplorer($a_target, $a_top_node = 0) { global $tree, $ilCtrl, $lng, $ilSetting, $objDefinition; $this->ctrl = $ilCtrl; $this->force_open_path = array(); parent::ilExplorer($a_target); $this->tree = $tree; $this->root_id = $this->tree->readRootId(); $this->order_column = "title"; $this->setSessionExpandVariable("repexpand"); $this->setTitle($lng->txt("overview")); // please do not uncomment this if ($ilSetting->get("repository_tree_pres") == "" || $ilSetting->get("rep_tree_limit_grp_crs") && $a_top_node == 0) { $this->addFilter("root"); $this->addFilter("cat"); $this->addFilter('catr'); $this->addFilter("grp"); $this->addFilter("icrs"); $this->addFilter("crs"); $this->addFilter('crsr'); $this->addFilter('rcrs'); $this->setFiltered(true); $this->setFilterMode(IL_FM_POSITIVE); } else { if ($ilSetting->get("repository_tree_pres") == "all_types") { foreach ($objDefinition->getAllRBACObjects() as $rtype) { $this->addFilter($rtype); } $this->setFiltered(true); $this->setFilterMode(IL_FM_POSITIVE); } } }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function __construct($a_target, $a_par_class = "") { global $tree, $ilCtrl; $this->ctrl =& $ilCtrl; $this->parent_class = $a_par_class; parent::ilExplorer($a_target); }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function __construct($a_target, $a_templates = false) { $this->templates = $a_templates; parent::ilExplorer($a_target); $this->setFilterMode(IL_FM_POSITIVE); $this->addFilter("skrt"); $this->addFilter("skll"); $this->addFilter("scat"); // $this->addFilter("sktr"); $this->setTitleLength(999); include_once "./Services/Skill/classes/class.ilSkillTree.php"; $this->tree = new ilSkillTree(); $this->root_id = $this->tree->readRootId(); $this->setSessionExpandVariable("skpexpand"); $this->checkPermissions(false); $this->setPostSort(false); $this->setOrderColumn("order_nr"); // $this->textwidth = 200; $this->force_open_path = array(); $this->all_nodes = $this->tree->getSubTree($this->tree->getNodeData($this->root_id)); foreach ($this->all_nodes as $n) { $this->node[$n["child"]] = $n; $this->child_nodes[$n["parent"]][] = $n; $this->parent[$n["child"]] = $n["parent"]; //echo "-$k-"; var_dump($n); } // $this->buildSelectableTree($this->root_id); }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function ilSkillExplorer($a_target, $a_templates = false) { $this->templates = $a_templates; parent::ilExplorer($a_target); $this->setFilterMode(IL_FM_POSITIVE); if ($a_templates) { $this->addFilter("skrt"); $this->addFilter("sktp"); $this->addFilter("sctp"); } else { $this->addFilter("skrt"); $this->addFilter("skll"); $this->addFilter("scat"); $this->addFilter("sktr"); } include_once "./Services/Skill/classes/class.ilSkillTree.php"; $this->tree = new ilSkillTree(); $this->root_id = $this->tree->readRootId(); $this->setSessionExpandVariable("skexpand"); $this->checkPermissions(false); $this->setPostSort(false); $this->setOrderColumn("order_nr"); // $this->textwidth = 200; $this->force_open_path = array(); }
/** * Constructor * @access public * @param string scriptname */ function ilStyleScopeExplorer($a_target) { if ($_GET["id"] > 0) { $this->style_id = $_GET["id"]; } else { $this->style_id = $_GET["stlye_id"]; } parent::ilExplorer($a_target); }
public function __construct($a_target) { global $lng, $objDefinition; $this->lng = $lng; $this->objDefinition = $objDefinition; parent::ilExplorer($a_target); $this->initItemCounter(1); $this->setTitleLength(ilObject::TITLE_LENGTH); }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function ilBookmarkExplorer($a_target, $a_user_id) { parent::ilExplorer($a_target); $this->tree = new ilTree($a_user_id); $this->tree->setTableNames('bookmark_tree', 'bookmark_data'); $this->root_id = $this->tree->readRootId(); $this->user_id = $a_user_id; $this->allowed_types = array('bmf', 'dum'); $this->enablesmallmode = false; }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function ilSCORMExplorer($a_target, &$a_slm_obj) { parent::ilExplorer($a_target); $this->slm_obj =& $a_slm_obj; $this->tree = new ilSCORMTree($a_slm_obj->getId()); $this->root_id = $this->tree->readRootId(); $this->checkPermissions(false); $this->outputIcons(true); $this->setOrderColumn(""); }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function ilAdministrationExplorer($a_target) { global $tree, $ilCtrl, $lng; $this->ctrl = $ilCtrl; parent::ilExplorer($a_target); $this->tree = $tree; $this->root_id = $this->tree->readRootId(); $this->order_column = "title"; $this->setSessionExpandVariable("expand"); $this->setTitle($lng->txt("overview")); }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function ilMediaPoolExplorer($a_target, &$a_media_pool) { parent::ilExplorer($a_target); $this->tree =& $a_media_pool->getTree(); $this->root_id = $this->tree->readRootId(); $this->media_pool =& $a_media_pool; $this->order_column = "title"; $this->setSessionExpandVariable("mepexpand"); $this->checkPermissions(false); $this->setPostSort(false); }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function __construct($a_target) { global $tree, $ilCtrl; $this->ctrl =& $ilCtrl; parent::ilExplorer($a_target); $this->setFrameTarget(""); $this->force_open_path = array(); if ($_GET["ref_id"] > 0) { $this->force_open_path = $tree->getPathId($_GET["ref_id"]); } $this->setSelectableTypes(array('mep')); }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function __construct($a_target, $a_par_class = "ilpcfilelistgui") { global $tree, $ilCtrl; $this->ctrl =& $ilCtrl; $this->parent_class = $a_par_class; parent::ilExplorer($a_target); $this->force_open_path = array(); if ($_GET["ref_id"] > 0) { $this->force_open_path = $tree->getPathId($_GET["ref_id"]); } $this->setFrameTarget(""); }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function ilLMMenuObjectSelector($a_target, &$a_gui_obj) { global $tree, $ilCtrl; $this->ctrl = $ilCtrl; $this->gui_obj = $a_gui_obj; parent::ilExplorer($a_target); $this->tree = $tree; $this->root_id = $this->tree->readRootId(); $this->order_column = "title"; $this->setSessionExpandVariable("lm_menu_expand"); $this->addFilter("rolf"); $this->addFilter("adm"); }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function ilLMExplorer($a_target, &$a_lm_obj) { parent::ilExplorer($a_target); $this->tree = new ilTree($a_lm_obj->getId()); $this->tree->setTableNames('lm_tree', 'lm_data'); $this->tree->setTreeTablePK("lm_id"); $this->root_id = $this->tree->readRootId(); $this->lm_obj =& $a_lm_obj; $this->order_column = ""; $this->setSessionExpandVariable("lmexpand"); $this->checkPermissions(false); $this->setPostSort(false); $this->textwidth = 200; }
/** * @param $a_target */ function ilObjectSelector($a_target) { global $tree, $ilCtrl; $this->ctrl = $ilCtrl; parent::ilExplorer($a_target); $this->tree = $tree; $this->root_id = $this->tree->readRootId(); $this->order_column = "title"; $this->setSessionExpandVariable("paya_link_expand"); // add here all container objects #$this->addFilter("root"); #$this->addFilter("cat"); #$this->setFilterMode(IL_FM_NEGATIVE); $this->setFiltered(false); }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function ilScorm2004EditorExplorer($a_target, $a_slm_obj) { parent::ilExplorer($a_target); $this->tree = new ilTree($a_slm_obj->getId()); $this->tree->setTableNames('sahs_sc13_tree', 'sahs_sc13_tree_node'); $this->tree->setTreeTablePK("slm_id"); $this->root_id = $this->tree->readRootId(); $this->slm_obj = $a_slm_obj; $this->order_column = ""; $this->setSessionExpandVariable("scexpand"); $this->checkPermissions(false); $this->setPostSort(false); $this->textwidth = 200; $this->force_open_path = array(); }
/** * @access public * @param $a_target (i.e. ilias.php?cmd=showObjectSelector&cmdClass=ilpaymentobjectgui&cmdNode=8n:8z:90&baseClass=ilShopController) * @param string $a_classname i.e. ilpaymentobjectgui */ public function __construct($a_target, $a_classname) { global $tree, $ilCtrl; $this->ctrl = $ilCtrl; parent::ilExplorer($a_target); $this->tree = $tree; $this->root_id = $this->tree->readRootId(); $this->order_column = "title"; $this->setSessionExpandVariable("paya_link_expand"); $this->addFilter("adm"); $this->addFilter("rolf"); $this->addFilter("chat"); #$this->addFilter('fold'); $this->setFilterMode(IL_FM_NEGATIVE); $this->setFiltered(true); $this->classname = $a_classname; }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function ilRoleDesktopItemSelector($a_target, $role_desk_item_obj) { global $tree, $ilCtrl; $this->ctrl = $ilCtrl; $this->role_desk_obj =& $role_desk_item_obj; parent::ilExplorer($a_target); $this->tree = $tree; $this->root_id = $this->tree->readRootId(); $this->order_column = "title"; $this->setSessionExpandVariable("role_desk_item_link_expand"); $this->addFilter("adm"); $this->addFilter("rolf"); #$this->addFilter("chat"); #$this->addFilter('fold'); $this->setFilterMode(IL_FM_NEGATIVE); $this->setFiltered(true); $this->setTitleLength(ilObject::TITLE_LENGTH); }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function ilRepositoryCopySelector($a_target) { global $tree, $ilCtrl; $this->ctrl = $ilCtrl; parent::ilExplorer($a_target); $this->tree = $tree; $this->root_id = $this->tree->readRootId(); $this->order_column = "title"; $this->setSessionExpandVariable("rep_copy_expand"); // add here all container objects $this->addFilter("root"); $this->addFilter("cat"); $this->addFilter("grp"); $this->addFilter("fold"); $this->addFilter("crs"); $this->setFilterMode(IL_FM_POSITIVE); $this->setFiltered(true); $this->setTitleLength(ilObject::TITLE_LENGTH); }
/** * Constructor * @access public * @param string target */ function ilSolutionExplorer($a_target, $a_target_class) { global $tree, $ilCtrl; $this->ctrl = $ilCtrl; $this->target_class = $a_target_class; parent::ilExplorer($a_target); $this->tree = $tree; $this->root_id = $this->tree->readRootId(); $this->order_column = "title"; $this->setSessionExpandVariable("expand_sol"); // add here all container objects $this->addFilter("root"); $this->addFilter("cat"); $this->addFilter("grp"); $this->addFilter("fold"); $this->addFilter("crs"); $this->setFilterMode(IL_FM_POSITIVE); $this->setFiltered(true); }
/** * @param $a_target * @param int $a_top_node */ public function __construct($a_target, $a_top_node = 0) { global $tree, $ilCtrl; $this->ctrl = $ilCtrl; $this->force_open_path = array(); parent::ilExplorer($a_target); $this->tree = $tree; $this->root_id = $this->tree->readRootId(); $this->order_column = "title"; $this->frame_target = false; $this->setSessionExpandVariable("repexpand"); #$this->setTitle($lng->txt("overview")); # Es sollen nur container angezeigt werden, die entweder als container (z.B. Kurse) kaufbar sind oder kaufbare Objekte enthalten können! /* if ($ilSetting->get("repository_tree_pres") == "" || ($ilSetting->get("rep_tree_limit_grp_crs") && $a_top_node == 0)) {*/ $this->addFilter("root"); $this->addFilter("cat"); $this->addFilter('catr'); $this->addFilter("grp"); $this->addFilter("icrs"); $this->addFilter("crs"); $this->addFilter('crsr'); $this->addFilter('rcrs'); # $this->addFilter("file"); # $this->addFilter("tst"); # $this->addFilter("exc"); $this->setFiltered(true); $this->setFilterMode(IL_FM_POSITIVE); /* } else if ($ilSetting->get("repository_tree_pres") == "all_types") { foreach ($objDefinition->getAllRBACObjects() as $rtype) { $this->addFilter($rtype); } $this->setFiltered(true); $this->setFilterMode(IL_FM_POSITIVE); }*/ }
/** * Constructor * @access public * @param string scriptname * @param int user_id */ function ilLMMenuObjectSelector($a_target) { global $tree, $ilCtrl; $this->ctrl =& $ilCtrl; parent::ilExplorer($a_target); }