ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
SeparatorItemRenderer.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 
31 {
35  #[\Override]
36  public function getComponentWithContent(isItem $item): Component
37  {
38  $horizontal = $this->ui_factory->divider()->horizontal();
39  if ($item->getTitle()) {
40  return $horizontal->withLabel($item->getTitle());
41  }
42  return $horizontal;
43  }
44 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...