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
 public function showTree()
 {
     $tree = new ilOrgUnitExplorerGUI("orgu_explorer", "ilObjOrgUnitGUI", "showTree", new ilTree(1));
     $tree->setTypeWhiteList(array("orgu"));
     if (!$tree->handleCommand()) {
         $this->tpl->setLeftNavContent($tree->getHTML());
     }
     $this->ctrl->setParameterByClass("ilObjOrgUnitGUI", "ref_id", $_GET["ref_id"]);
 }