ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
GroupItemRenderer.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27
32{
33 public function __construct(UIServices $ui, private readonly FooterRendererFactory $factory)
34 {
36 }
37
38 protected function getSpecificComponentForItem(isItem $item): Component|array
39 {
42 $links = [];
43 foreach ($item->getEntries() as $entry) {
44 $links[] = $this->factory->getRendererFor($entry)->getComponentForItem($entry);
45 }
46
47 return $links;
48 }
49
50}
factory()
Provides fluid interface to RBAC services.
Definition: UIServices.php:25
__construct(UIServices $ui, private readonly FooterRendererFactory $factory)
A component is the most general form of an entity in the UI.
Definition: Component.php:28
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc