52         string $a_select_par = 
"sel_wsp_obj"    56         $this->
ctrl = $DIC->ctrl();
    57         $this->
lng = $DIC->language();
    59         $this->select_gui = (is_object($a_select_gui))
    60             ? strtolower(get_class($a_select_gui))
    62         $this->select_cmd = $a_select_cmd;
    63         $this->select_par = $a_select_par;
    71         $this->root_id = $this->tree->readRootId();
    84         $this->link_to_node_class = $a_val;
    94         $this->activate_highlighting = $a_val;
   104         $this->selectable_types = $a_val;
   114         $this->custom_link_target = $a_val;
   127         if ($this->select_postvar != 
"") {
   137         if (is_object($this->parent_obj)) {
   138             $target_path = [get_class($this->parent_obj)];
   142         $target_path = $target_path + [$target_class];
   145             switch ($a_node[
"type"]) {
   147                     $target_class = 
"ilobjworkspacerootfoldergui";
   148                     $target_path = [
"ilDashboardGUI", 
"ilPersonalWorkspaceGUI", 
"ilobjworkspacerootfoldergui"];
   151                     $target_class = 
"ilobjworkspacefoldergui";
   160         $ilCtrl->setParameterByClass($target_class, $this->select_par, $a_node[
"child"]);
   161         $ret = $ilCtrl->getLinkTargetByClass($target_path, $this->select_cmd);
   164         $ilCtrl->setParameterByClass($target_class, $this->select_par, $this->request->getSelectPar());
   175         if ($a_node[
"child"] == $this->tree->getRootId()) {
   176             return $lng->
txt(
"personal_resources");
   179         return $a_node[
"title"];
   209         $t = $a_node[
"type"];
   210         if (in_array($t, array(
"sktr"))) {
   221         $wsp_id = $this->request->getWspId();
   223             ((
int) $a_node[
"child"] == $wsp_id || $wsp_id == 0 && $a_node[
"child"] == $this->
getRootId())) {
 
setSkipRootNode(bool $a_val)
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
bool $activate_highlighting
 
__construct(int $a_user_id, $a_parent_obj, string $a_parent_cmd, $a_select_gui, string $a_select_cmd, string $a_select_par="sel_wsp_obj")
ilWorkspaceExplorerGUI constructor. 
 
setTypeWhiteList(array $a_val)
Set type white list. 
 
setSelectableTypes(array $a_val)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getActivateHighlighting()
 
setLinkToNodeClass(bool $a_val)
 
setPathOpen($a_id)
Set node path to be opened. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
StandardGUIRequest $request
 
ilWorkspaceAccessHandler $access_handler
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
isNodeHighlighted($a_node)
 
string $custom_link_target
 
isNodeSelectable($a_node)
 
Explorer for selecting a personal workspace item. 
 
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory) 
 
setCustomLinkTarget(string $a_val)
 
Explorer class that works on tree objects (Services/Tree) 
 
__construct(Container $dic, ilPlugin $plugin)
 
setActivateHighlighting(bool $a_val)