19 declare(strict_types=1);
43 foreach ($item->getChildren() as $child) {
44 if (!$child->isVisible()) {
48 if ($component ===
null) {
51 $entries[] = $component;
54 $dd = $this->ui_factory->menu()->drilldown($item->getTitle(), $entries);
56 $slate = $this->ui_factory->mainControls()->slate()->drilldown(
67 $title = $item->getTitle();
72 case RepositoryLink::class:
85 $entry = $this->ui_factory->link()->bulky($symbol, $title, $act);
90 foreach ($item->getLinks() as $child) {
91 if (!$child->isVisible()) {
96 $entry = $this->ui_factory->menu()->sub($title, $links);
98 case Separator::class:
99 $entry = $this->ui_factory->divider()->horizontal()->withLabel($title);
103 $entry = $this->ui_factory->divider()->horizontal()->withLabel(
104 sprintf($this->
txt(
'unable_to_render'), $title, $parent->getTitle())
118 return ILIAS_HTTP_PATH;
121 private function txt(
string $key): string
123 return $this->
lng->txt($key);
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)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
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.