ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
GroupItemRenderer.php
Go to the documentation of this file.
1 <?php
2 
19 declare(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()
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...
Provides fluid interface to RBAC services.
Definition: UIServices.php:24
__construct(UIServices $ui, private readonly FooterRendererFactory $factory)
__construct(Container $dic, ilPlugin $plugin)