29 return $this->context_collection->
main()->administration();
39 if ($called_contexts->
current()->getAdditionalData()->is(self::SHOW_ORGU_TREE,
true)) {
40 $iff =
function (
string $id) {
41 return $this->identification_provider->contextAwareIdentifier($id);
44 $t =
function (
string $key) :
string {
45 return $this->dic->language()->txt($key);
48 $tools[] = $this->factory->treeTool($iff(
'tree_new'))
49 ->withTitle($t(
'tree'))
50 ->
withSymbol($this->dic->ui()->factory()->symbol()->icon()->standard(
'orgu',
'Orgu'))
65 return $this->dic->ui()->factory()->tree()->expandable(
$lng->txt(
"org_units"), $tree)
66 ->withData($tree->getChildsOfNode($parent_node_id));
73 ilObjOrgUnitGUI::class,
76 $this->dic[
"ilAccess"]
80 $tree->setPathOpen(
$_GET[
'item_ref_id'] ??
$_GET[
'ref_id'] ??
'');
87 $whiteList = array(
'orgu');
88 $pls = ilOrgUnitExtension::getActivePluginIdsForTree();
90 return array_merge($whiteList, $pls);
An exception for terminatinating execution or to throw for unit testing.
Class ilObjOrgUnit GUI class.
Class ilOrgUnitExplorerGUI.
Class ilOrgUnitExtension.
Tree class data representation in hierachical trees using the Nested Set Model with Gaps by Joe Celco...
Interface for mapping data-structures to the Tree.
This describes a Tree Control.
withSymbol(Symbol $symbol)
@inheritDoc