ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
ComplexItemRenderer.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer
;
22
23
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
;
24
use
ILIAS\UI\Component\Component
;
25
30
class
ComplexItemRenderer
extends
BaseTypeRenderer
31
{
32
use
MakeSlateAsync
,
SlateSessionStateCode
{
33
MakeSlateAsync::hash
insteadof
SlateSessionStateCode
;
34
MakeSlateAsync::unhash
insteadof
SlateSessionStateCode
;
35
}
36
40
#[\Override]
41
public
function
getComponentWithContent
(
isItem
$item):
Component
42
{
46
global
$DIC
;
47
$content = $this->ui_factory->legacy()->content($DIC->ui()->renderer()->render($item->getContent()));
48
49
return
$this->ui_factory->mainControls()->slate()->legacy($item->getTitle(), $this->
getStandardSymbol
($item), $content);
50
}
51
}
insteadof
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\ComplexItemRenderer\SlateSessionStateCode
MakeSlateAsync::unhash insteadof SlateSessionStateCode
Definition:
ComplexItemRenderer.php:34
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer
Class BaseTypeRenderer.
Definition:
BaseTypeRenderer.php:41
ILIAS\UI\Component
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\MakeSlateAsync
trait MakeSlateAsync
Trait MakeSlateAsync.
Definition:
MakeSlateAsync.php:30
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
Interface IFactory.
Definition:
isItem.php:31
Component
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\ComplexItemRenderer
Class ComplexItemRenderer.
Definition:
ComplexItemRenderer.php:30
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer
Definition:
BaseTypeRenderer.php:21
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getComponentWithContent
getComponentWithContent(isItem $item)
This is called in cases when the Full Item with it's content is needed, e.g.
Definition:
BaseTypeRenderer.php:82
$DIC
global $DIC
Definition:
shib_login.php:26
SlateSessionStateCode
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getStandardSymbol
getStandardSymbol(isItem $item)
Definition:
BaseTypeRenderer.php:114
isItem
components
ILIAS
GlobalScreen
src
Scope
MainMenu
Collector
Renderer
ComplexItemRenderer.php
Generated on Mon Sep 1 2025 23:03:11 for ILIAS by
1.8.13 (using
Doxyfile
)