/** * Select Repository Item */ function showRepositorySelection() { global $tpl, $lng, $ilCtrl, $tree, $ilUser; include_once 'Services/Repository/classes/class.ilRepositorySelectorExplorerGUI.php'; $ilCtrl->setParameter($this, "postvar", $this->getPostVar()); ilUtil::sendInfo($this->getHeaderMessage()); $exp = new ilRepositorySelectorExplorerGUI($this, "showRepositorySelection", $this, "selectRepositoryItem", "root_id"); $exp->setTypeWhiteList($this->getVisibleTypes()); $exp->setClickableTypes($this->getClickableTypes()); if ($this->getValue()) { $exp->setPathOpen($this->getValue()); $exp->setHighlightedNode($this->getHighlightedNode()); } if ($exp->handleCommand()) { return; } // build html-output $tpl->setContent($exp->getHTML()); }