public function showMoveIntoObjectTreeObject()
 {
     require_once "./Services/Tree/classes/class.ilTree.php";
     require_once "./Modules/OrgUnit/classes/class.ilOrgUnitExplorerGUI.php";
     $this->ctrl->setCmd('performPaste');
     $ilOrgUnitExplorerGUI = new ilOrgUnitExplorerGUI("orgu_explorer", "ilObjOrgUnitGUI", "showTree", new ilTree(1));
     $ilOrgUnitExplorerGUI->setTypeWhiteList(array("orgu"));
     if (!$ilOrgUnitExplorerGUI->handleCommand()) {
         $this->tpl->setContent($ilOrgUnitExplorerGUI->getHTML());
     }
 }
Пример #2
0
 protected function getTreeSelectorGUI($cmd)
 {
     global $tree;
     $explorer = new ilOrgUnitExplorerGUI("rep_exp_sel", $this, "showPasteTree", $tree);
     $explorer->setAjax(false);
     $explorer->setSelectMode('nodes[]', false);
     return $explorer;
 }