13 include_once(
"./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
29 parent::ilExplorer($a_target);
32 $this->force_open_path = array();
33 if (
$_GET[
"ref_id"] > 0)
35 $this->force_open_path = $tree->getPathId(
$_GET[
"ref_id"]);
48 $this->content_gui = $a_val;
63 $this->selectable_types = $a_types;
68 return $this->selectable_types;
73 $this->ref_id = $a_ref_id;
96 $ilAccess->checkAccess(
"write",
"", $a_ref_id))
115 if ($ilAccess->checkAccess(
"read",
"", $a_ref_id))
137 $tpl->setCurrentBlock(
"icon");
139 $tpl->setVariable(
"TXT_ALT_IMG", $lng->txt(
"repository"));
140 $tpl->parseCurrentBlock();
142 $tpl->setCurrentBlock(
"text");
143 $tpl->setVariable(
"OBJ_TITLE", $lng->txt(
"repository"));
144 $tpl->parseCurrentBlock();
149 $tpl->touchBlock(
"element");
158 if (in_array($a_obj_id, $this->force_open_path))
formatHeader(&$tpl, $a_obj_id, $a_option)
overwritten method from base class public
__construct($a_target)
Constructor public.
isClickable($a_type, $a_ref_id)
Item clickable?
showChilds($a_ref_id)
Show childs y/n?
forceExpanded($a_obj_id)
force expansion of node
buildLinkTarget($a_node_id, $a_type)
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
setSelectableTypes($a_types)
setContentGUIClass($a_val)
Set content GUI class.
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl
setFrameTarget($a_target)
set target frame or not frame?
Class ilExplorer class for explorer view in admin frame.
Select media pool for adding objects into pages.
getContentGUIClass()
Get content GUI class.