43 return $this->context_collection->
main()->administration();
54 if ($called_contexts->
current()->getAdditionalData()->is(self::SHOW_ORGU_TREE,
true)) {
55 $iff =
function (
string $id) {
56 return $this->identification_provider->contextAwareIdentifier(
$id);
59 $t =
function (
string $key):
string {
60 return $this->dic->language()->txt($key);
63 $tools[] = $this->factory->treeTool($iff(
'tree_new'))
64 ->withTitle($t(
'tree'))
65 ->withSymbol($this->dic->ui()->factory()->symbol()->icon()->standard(
78 $lng = $DIC->language();
83 return $this->dic->ui()->factory()->tree()->expandable(
$lng->txt(
"org_units"), $tree)
84 ->withData($tree->getChildsOfNode($parent_node_id));
91 ilObjOrgUnitGUI::class,
94 $this->dic[
"ilAccess"]
100 $tree->setPathOpen((
int)
$ref_id);
102 $tree->setOrderField(
'title');
112 $whiteList = array(
'orgu');
113 $pls = ilOrgUnitExtension::getActivePluginIdsForTree();
115 return array_merge($whiteList, $pls);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This describes a Tree Control.
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Interface for mapping data-structures to the Tree.