4 include_once(
"./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
41 $this->tree = $DIC->repositoryTree();
42 $this->
user = $DIC->user();
43 $this->access = $DIC->access();
44 $this->lng = $DIC->language();
45 $tree = $DIC->repositoryTree();
49 $this->parent_class = $a_par_class;
50 parent::__construct($a_target);
55 $this->selectable_types = $a_types;
60 $this->ref_id = $a_ref_id;
68 $ilCtrl->setParameterByClass($this->parent_class,
"glo_ref_id", $a_node_id);
69 $link =
$ilCtrl->getLinkTargetByClass($this->parent_class,
"selectGlossary");
84 $ilAccess->checkAccess(
"read",
"", $a_ref_id)) {
101 if ($ilAccess->checkAccess(
"read",
"", $a_ref_id)) {
120 $tpl->setCurrentBlock(
"icon");
122 $tpl->setVariable(
"TXT_ALT_IMG",
$lng->txt(
"repository"));
123 $tpl->parseCurrentBlock();
125 $tpl->setCurrentBlock(
"text");
126 $tpl->setVariable(
"OBJ_TITLE",
$lng->txt(
"repository"));
127 $tpl->parseCurrentBlock();
132 $tpl->touchBlock(
"element");
Select file for being added into file lists.
setSelectableTypes($a_types)
formatHeader($tpl, $a_obj_id, $a_option)
overwritten method from base class public
buildLinkTarget($a_node_id, $a_type)
isClickable($a_type, $a_ref_id=0)
Item clickable?
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
Class ilExplorer class for explorer view in admin frame.
__construct($a_target, $a_par_class="")
Constructor public.
showChilds($a_ref_id)
Show childs y/n?