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
namespace
ILIAS\GlobalScreen\Scope\MetaBar\Collector\Renderer
;
2
3
use
ILIAS\GlobalScreen\Scope\MetaBar\Factory\isItem
;
4
use
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopParentItem
;
5
use
ILIAS\UI\Component\Component
;
6
12
class
TopParentItemRenderer
extends
AbstractMetaBarItemRenderer
13
{
14
18
protected
function
getSpecificComponentForItem
(
isItem
$item) :
Component
19
{
23
$component = $this->
ui
->factory()->mainControls()->slate()->combined($item->getTitle(), $item->getSymbol());
24
foreach
($item->getChildren() as $child) {
28
$component_for_item = $child->getRenderer()->getComponentForItem($child);
29
if
($this->isComponentSupportedForCombinedSlate($component_for_item)) {
30
$component = $component->withAdditionalEntry($component_for_item);
31
}
32
}
33
34
return
$component;
35
}
36
}
ILIAS\UI\Component
ILIAS\GlobalScreen\Scope\MetaBar\Collector\Renderer
Definition:
AbstractMetaBarItemRenderer.php:1
ILIAS\GlobalScreen\Scope\MetaBar\Collector\Renderer\TopParentItemRenderer
Class TopParentItemRenderer.
Definition:
TopParentItemRenderer.php:12
ILIAS\GlobalScreen\Scope\MetaBar\Collector\Renderer\AbstractMetaBarItemRenderer\getSpecificComponentForItem
getSpecificComponentForItem(isItem $item)
Component
TopParentItem
ui
ui()
Definition:
ui.php:5
ILIAS\GlobalScreen\Scope\MetaBar\Factory\isItem
Class isItem.
Definition:
isItem.php:11
ILIAS\GlobalScreen\Scope\MetaBar\Collector\Renderer\AbstractMetaBarItemRenderer
Class AbstractMetaBarItemRenderer.
Definition:
AbstractMetaBarItemRenderer.php:17
isItem
src
GlobalScreen
Scope
MetaBar
Collector
Renderer
TopParentItemRenderer.php
Generated on Tue Apr 15 2025 20:01:28 for ILIAS by
1.8.13 (using
Doxyfile
)