ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
LinkListItemRenderer.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 
32 {
34  MakeSlateAsync::hash insteadof SlateSessionStateCode;
35  MakeSlateAsync::unhash insteadof SlateSessionStateCode;
36  }
37  use isSupportedTrait;
38 
42  #[\Override]
43  public function getComponentWithContent(isItem $item): Component
44  {
45  $slate = $this->ui_factory->mainControls()->slate()->combined($item->getTitle(), $this->getStandardSymbol($item));
49  foreach ($item->getLinks() as $link) {
50  if (!$link->isVisible()) {
51  continue;
52  }
53  $link = $this->ui_factory->link()->bulky($this->getStandardSymbol($link), $link->getTitle(), $this->getURI($link->getAction()));
54  $slate = $slate->withAdditionalEntry($link);
55  }
56 
57  return $slate;
58  }
59 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getComponentWithContent(isItem $item)
This is called in cases when the Full Item with it&#39;s content is needed, e.g.