ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ComplexItemRenderer.php
Go to the documentation of this file.
1<?php
2
4
8
15{
17 MakeSlateAsync::hash insteadof SlateSessionStateCode;
18 MakeSlateAsync::unhash insteadof SlateSessionStateCode;
19 }
20
21
25 public function getComponentWithContent(isItem $item) : Component
26 {
30 global $DIC;
31 $content = $this->ui_factory->legacy($DIC->ui()->renderer()->render($item->getContent()));
32
33 return $this->ui_factory->mainControls()->slate()->legacy($item->getTitle(), $this->getStandardSymbol($item), $content);
34 }
35}
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
$DIC
Definition: xapitoken.php:46