14include_once(
"./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
 
   23        function __construct($a_target, $a_par_class = 
"ilpcfilelistgui")
 
   28                $this->parent_class = $a_par_class;
 
   29                parent::__construct($a_target);
 
   31                $this->force_open_path = array();
 
   32                if (
$_GET[
"ref_id"] > 0)
 
   34                        $this->force_open_path = 
$tree->getPathId(
$_GET[
"ref_id"]);
 
   41                $this->selectable_types  = $a_types;
 
   46                $this->ref_id = $a_ref_id;
 
   53                $ilCtrl->setParameterByClass($this->parent_class, 
"subCmd", 
"selectFile");
 
   54                $ilCtrl->setParameterByClass($this->parent_class, 
"file_ref_id", $a_node_id);
 
   55                $link = 
$ilCtrl->getLinkTargetByClass($this->parent_class, 
$_GET[
"cmd"]);
 
   69                        $ilAccess->checkAccess(
"write", 
"", $a_ref_id))
 
   88                if ($ilAccess->checkAccess(
"read", 
"", $a_ref_id))
 
  110                $tpl->setCurrentBlock(
"icon");
 
  112                $tpl->setVariable(
"TXT_ALT_IMG", 
$lng->txt(
"repository"));
 
  113                $tpl->parseCurrentBlock();
 
  115                $tpl->setCurrentBlock(
"text");
 
  116                $tpl->setVariable(
"OBJ_TITLE", 
$lng->txt(
"repository"));
 
  117                $tpl->parseCurrentBlock();
 
  122                $tpl->touchBlock(
"element");
 
  131                if (in_array($a_obj_id, $this->force_open_path))
 
An exception for terminatinating execution or to throw for unit testing.
Class ilExplorer class for explorer view in admin frame.
setFrameTarget($a_target)
set target frame or not frame?
Select file for being added into file lists.
__construct($a_target, $a_par_class="ilpcfilelistgui")
Constructor @access public.
formatHeader($tpl, $a_obj_id, $a_option)
overwritten method from base class @access public
buildLinkTarget($a_node_id, $a_type)
get link target (may be overwritten by derived classes)
setSelectableTypes($a_types)
isClickable($a_type, $a_ref_id=0)
Item clickable?
showChilds($a_ref_id)
Show childs y/n?
forceExpanded($a_obj_id)
force expansion of node
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)