29 public function __construct(
int $a_ref_id = 0,
int $a_id_type = self::REPOSITORY_NODE_ID,
int $a_parent_node_id = 0)
33 $this->ilLocator = $DIC[
'ilLocator'];
34 $this->tpl = $DIC->ui()->mainTemplate();
46 $parent = parent::lookupParentTitleInCreationMode();
47 if ($parent ==
'__OrgUnitAdministration') {
48 return $this->
lng->txt(
"objs_orgu");
75 foreach ((array)
$path as $key => $row) {
76 if ($row[
"title"] ==
"__OrgUnitAdministration") {
77 $row[
"title"] = $this->
lng->txt(
"objs_orgu");
79 $this->
ctrl->setParameterByClass(
"ilobjorgunitgui",
"ref_id", $row[
"child"]);
80 $this->ilLocator->addItem($row[
"title"], $this->
ctrl->getLinkTargetByClass(array(
81 "iladministrationgui",
84 $this->
ctrl->setParameterByClass(
"ilobjplugindispatchgui",
"ref_id",
$_GET[
"ref_id"]);
86 $this->tpl->setLocator();
94 $this->
ctrl->setParameterByClass(
"ilObjPluginDispatchGUI",
"ref_id",
$_GET[
"ref_id"]);
95 $this->
ctrl->setParameterByClass(
"ilObjOrgUnitGUI",
"ref_id",
$_GET[
"ref_id"]);
98 array(
"ilAdministrationGUI",
"ilObjOrgUnitGUI"),
103 if (!
$tree->handleCommand()) {
104 $this->tpl->setLeftNavContent(
$tree->getHTML());
110 $whiteList = array(
"orgu");
111 $pls = ilOrgUnitExtension::getActivePluginIdsForTree();
113 return array_merge($whiteList, $pls);
__construct(int $a_ref_id=0, int $a_id_type=self::REPOSITORY_NODE_ID, int $a_parent_node_id=0)
showTree()
Views in the Org Unit have the Navigation Tree enabled by default.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Object GUI class for repository plugins.
lookupParentTitleInCreationMode()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilGlobalTemplateInterface $tpl
__construct(Container $dic, ilPlugin $plugin)
setLocator()
Override the locator (breadcrumbs).