ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
ComplexItemRenderer.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer
;
4
5
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
;
6
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Complex
;
7
use
ILIAS\UI\Component\Component
;
8
14
class
ComplexItemRenderer
extends
BaseTypeRenderer
15
{
16
use
MakeSlateAsync
,
SlateSessionStateCode
{
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
}
php
An exception for terminatinating execution or to throw for unit testing.
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer
Class BaseTypeRenderer.
Definition:
BaseTypeRenderer.php:19
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getComponentWithContent
getComponentWithContent(isItem $item)
@inheritDoc
Definition:
BaseTypeRenderer.php:53
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\ComplexItemRenderer
Class ComplexItemRenderer.
Definition:
ComplexItemRenderer.php:15
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\ComplexItemRenderer\SlateSessionStateCode
MakeSlateAsync::unhash insteadof SlateSessionStateCode
Definition:
ComplexItemRenderer.php:18
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Complex
Class Complex.
Definition:
Complex.php:21
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
Interface IFactory.
Definition:
isItem.php:12
ILIAS\UI\Component\Component
A component is the most general form of an entity in the UI.
Definition:
Component.php:14
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer
Definition:
BaseTypeRenderer.php:1
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\MakeSlateAsync
trait MakeSlateAsync
Trait MakeSlateAsync.
Definition:
MakeSlateAsync.php:14
$DIC
$DIC
Definition:
xapitoken.php:46
src
GlobalScreen
Scope
MainMenu
Collector
Renderer
ComplexItemRenderer.php
Generated on Sat Oct 4 2025 20:01:11 for ILIAS by
1.9.4 (using
Doxyfile
)