19 declare(strict_types=1);
42 foreach ($item->getChildren() as $child) {
43 if (!$child->isVisible()) {
47 if ($component === null) {
50 $entries[] = $component;
53 $dd = $this->ui_factory->menu()->drilldown($item->getTitle(), $entries);
55 $slate = $this->ui_factory->mainControls()->slate()->drilldown(
66 $title = $item->getTitle();
68 $type = get_class($item);
71 case RepositoryLink::class:
84 $entry = $this->ui_factory->link()->bulky($symbol, $title, $act);
89 foreach ($item->getLinks() as $child) {
90 if (!$child->isVisible()) {
95 $entry = $this->ui_factory->menu()->sub($title, $links);
97 case Separator::class:
98 $entry = $this->ui_factory->divider()->horizontal()->withLabel($title);
102 $entry = $this->ui_factory->divider()->horizontal()->withLabel(
103 sprintf($this->
txt(
'unable_to_render'), $title, $parent->getTitle())
117 return ILIAS_HTTP_PATH;
120 private function txt(
string $key): string
122 return $this->
lng->txt($key);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Render a TopItem as Drilldown (DD in Slate)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getStandardSymbol(isItem $item)
buildEntry(AbstractChildItem $item, isTopItem $parent)
getComponentWithContent(isItem $item)
This is called in cases when the Full Item with it's content is needed, e.g.