28 public function __construct(
int $a_ref_id = 0,
int $a_id_type = self::REPOSITORY_NODE_ID,
int $a_parent_node_id = 0)
32 $this->ilLocator =
$DIC[
'ilLocator'];
33 $this->tpl =
$DIC->ui()->mainTemplate();
45 $parent = parent::lookupParentTitleInCreationMode();
46 if ($parent ==
'__OrgUnitAdministration') {
47 return $this->
lng->txt(
"objs_orgu");
74 foreach ((array)
$path as $key => $row) {
75 if ($row[
"title"] ==
"__OrgUnitAdministration") {
76 $row[
"title"] = $this->
lng->txt(
"objs_orgu");
78 $this->
ctrl->setParameterByClass(
"ilobjorgunitgui",
"ref_id", $row[
"child"]);
79 $this->ilLocator->addItem($row[
"title"], $this->
ctrl->getLinkTargetByClass(array(
80 "iladministrationgui",
83 $this->
ctrl->setParameterByClass(
"ilobjplugindispatchgui",
"ref_id",
$_GET[
"ref_id"]);
85 $this->tpl->setLocator();
93 $this->
ctrl->setParameterByClass(
"ilObjPluginDispatchGUI",
"ref_id",
$_GET[
"ref_id"]);
94 $this->
ctrl->setParameterByClass(
"ilObjOrgUnitGUI",
"ref_id",
$_GET[
"ref_id"]);
97 array(
"ilAdministrationGUI",
"ilObjOrgUnitGUI"),
102 if (!
$tree->handleCommand()) {
103 $this->tpl->setLeftNavContent(
$tree->getHTML());
109 $whiteList = array(
"orgu");
110 $pls = ilOrgUnitExtension::getActivePluginIdsForTree();
112 return array_merge($whiteList, $pls);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Object GUI class for repository plugins.
Class ilOrgUnitExplorerGUI.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(int $a_ref_id=0, int $a_id_type=self::REPOSITORY_NODE_ID, int $a_parent_node_id=0)
setLocator()
Override the locator (breadcrumbs).
ilGlobalTemplateInterface $tpl
showTree()
Views in the Org Unit have the Navigation Tree enabled by default.
lookupParentTitleInCreationMode()
Tree class data representation in hierachical trees using the Nested Set Model with Gaps by Joe Celco...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc