ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
TopParentItemRenderer.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
20
namespace
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer
;
21
22
use
ILIAS\GlobalScreen\Collector\Renderer\isSupportedTrait
;
23
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
;
24
use
ILIAS\UI\Component\Component
;
25
30
class
TopParentItemRenderer
extends
BaseTypeRenderer
31
{
32
use
MakeSlateAsync
,
SlateSessionStateCode
{
33
MakeSlateAsync::hash
insteadof
SlateSessionStateCode
;
34
MakeSlateAsync::unhash
insteadof
SlateSessionStateCode
;
35
}
36
use
isSupportedTrait
;
37
41
public
function
getComponentWithContent
(
isItem
$item):
Component
42
{
43
$f
=
$this->ui_factory
;
44
$slate =
$f
->mainControls()->slate()->combined($item->getTitle(), $this->
getStandardSymbol
($item));
48
foreach
($item->getChildren() as $child) {
49
$component = $child->getTypeInformation()->getRenderer()->getComponentForItem($child,
false
);
50
if
($this->isComponentSupportedForCombinedSlate($component)) {
51
$slate = $slate->withAdditionalEntry($component);
52
}
53
}
54
55
return
$slate;
56
}
57
}
insteadof
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer
Class BaseTypeRenderer.
Definition:
BaseTypeRenderer.php:40
ILIAS\UI\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\MakeSlateAsync
trait MakeSlateAsync
Trait MakeSlateAsync.
Definition:
MakeSlateAsync.php:30
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
Interface IFactory.
Definition:
isItem.php:31
Component
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\$ui_factory
Factory $ui_factory
Definition:
BaseTypeRenderer.php:51
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
BaseTypeRenderer.php:21
isSupportedTrait
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\TopParentItemRenderer\SlateSessionStateCode
MakeSlateAsync::unhash insteadof SlateSessionStateCode
Definition:
TopParentItemRenderer.php:34
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getComponentWithContent
getComponentWithContent(isItem $item)
Definition:
BaseTypeRenderer.php:82
SlateSessionStateCode
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\TopParentItemRenderer
Class TopParentItemRenderer.
Definition:
TopParentItemRenderer.php:30
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getStandardSymbol
getStandardSymbol(isItem $item)
Definition:
BaseTypeRenderer.php:117
isItem
isSupportedTrait
src
GlobalScreen
Scope
MainMenu
Collector
Renderer
TopParentItemRenderer.php
Generated on Sat Apr 12 2025 22:02:52 for ILIAS by
1.8.13 (using
Doxyfile
)