ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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}
An exception for terminatinating execution or to throw for unit testing.
A component is the most general form of an entity in the UI.
Definition: Component.php:14