ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
SeparatorItemRenderer.php
Go to the documentation of this file.
1 <?php
2 
4 
7 
13 {
14 
18  public function getComponentWithContent(isItem $item) : Component
19  {
20  $horizontal = $this->ui_factory->divider()->horizontal();
21  if ($item->getTitle()) {
22  $horizontal = $horizontal->withLabel($item->getTitle());
23  }
24  return $horizontal;
25  }
26 }