32require_once(
"./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
 
   60                parent::ilExplorer($a_target);
 
   62                $this->root_id = $this->tree->readRootId();
 
   63                $this->order_column = 
"title";
 
   82                $this->selectable_type  = $a_type;
 
   86                $this->ref_id = $a_ref_id;
 
   92                if($a_type == $this->selectable_type)
 
   94                        $this->ctrl->setParameterByClass(
'ilrepositorygui',
'source_id',$a_node_id);
 
   95                        return $this->ctrl->getLinkTargetByClass(
'ilrepositorygui',
'copyChilds');
 
   99                        $this->ctrl->setParameterByClass(
'ilrepositorygui',
"ref_id",$this->ref_id);
 
  100                        return $this->ctrl->getLinkTargetByClass(
'ilrepositorygui',
'copySelector');
 
  112                return $a_type == $this->selectable_type and $a_ref_id != 
$this->ref_id;
 
  124                if ($rbacsystem->checkAccess(
"read", $a_ref_id))
 
  146                $tpl = 
new ilTemplate(
"tpl.tree.html", 
true, 
true, 
"Services/UIComponent/Explorer");
 
  148                $tpl->setCurrentBlock(
"text");
 
  149                $tpl->setVariable(
"OBJ_TITLE", 
$lng->txt(
"repository"));
 
  150                $tpl->parseCurrentBlock();
 
  152                $tpl->setCurrentBlock(
"row");
 
  153                $tpl->parseCurrentBlock();
 
  155                $this->output[] = 
$tpl->get();
 
Class ilExplorer class for explorer view in admin frame.
setSessionExpandVariable($a_var_name="expand")
set name of expand session variable
addFilter($a_item)
adds item to the filter @access public
setTitleLength($a_length)
Set max title length.
setFilterMode($a_mode=IL_FM_NEGATIVE)
set filter mode
setFiltered($a_bool)
active/deactivate the filter @access public
const TITLE_LENGTH
max length of object title
isClickable($a_type, $a_ref_id)
check if links for certain object type are activated
buildLinkTarget($a_node_id, $a_type)
get link target (may be overwritten by derived classes)
showChilds($a_ref_id)
determines wether the childs of an object should be shown or not note: this standard implementation a...
buildFrameTarget($a_type, $a_child=0, $a_obj_id=0)
get frame target (may be overwritten by derived classes)
formatHeader($a_obj_id, $a_option)
overwritten method from base class @access public
ilRepositoryCopySelector($a_target)
Constructor @access public.
setSelectableType($a_type)
special template class to simplify handling of ITX/PEAR