ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ 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
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
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
q
r
s
t
u
v
w
x
z
+
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
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
TopParentItemRenderer.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer
;
4
5
use
ILIAS\GlobalScreen\Collector\Renderer\isSupportedTrait
;
6
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
;
7
use
ILIAS\UI\Component\Component
;
8
13
class
TopParentItemRenderer
extends
BaseTypeRenderer
14
{
15
use
MakeSlateAsync
,
SlateSessionStateCode
{
16
MakeSlateAsync::hash
insteadof
SlateSessionStateCode
;
17
MakeSlateAsync::unhash
insteadof
SlateSessionStateCode
;
18
}
19
use
isSupportedTrait
;
20
24
public
function
getComponentWithContent
(
isItem
$item) :
Component
25
{
26
$f
=
$this->ui_factory
;
27
$slate =
$f
->mainControls()->slate()->combined($item->getTitle(), $this->
getStandardSymbol
($item));
31
foreach
($item->getChildren() as $child) {
32
$component = $child->getTypeInformation()->getRenderer()->getComponentForItem($child,
false
);
33
if
($this->isComponentSupportedForCombinedSlate($component)) {
34
$slate = $slate->withAdditionalEntry($component);
35
}
36
}
37
38
return
$slate;
39
}
40
}
insteadof
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer
Class BaseTypeRenderer.
Definition:
BaseTypeRenderer.php:18
ILIAS\UI\Component
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\MakeSlateAsync
trait MakeSlateAsync
Trait MakeSlateAsync.
Definition:
MakeSlateAsync.php:14
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
Interface IFactory.
Definition:
isItem.php:11
Component
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer
Definition:
BaseTypeRenderer.php:1
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\$ui_factory
$ui_factory
Definition:
BaseTypeRenderer.php:31
isSupportedTrait
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\TopParentItemRenderer\SlateSessionStateCode
MakeSlateAsync::unhash insteadof SlateSessionStateCode
Definition:
TopParentItemRenderer.php:17
Vendor\Package\$f
$f
Definition:
example_cleaned.php:31
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getComponentWithContent
getComponentWithContent(isItem $item)
Definition:
BaseTypeRenderer.php:53
SlateSessionStateCode
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\TopParentItemRenderer
Class TopParentItemRenderer.
Definition:
TopParentItemRenderer.php:13
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getStandardSymbol
getStandardSymbol(isItem $item)
Definition:
BaseTypeRenderer.php:84
isItem
isSupportedTrait
src
GlobalScreen
Scope
MainMenu
Collector
Renderer
TopParentItemRenderer.php
Generated on Sun Apr 13 2025 20:01:35 for ILIAS by
1.8.13 (using
Doxyfile
)