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
SeparatorItemRenderer.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\UI\Component\Component
;
7
12
class
SeparatorItemRenderer
extends
BaseTypeRenderer
13
{
14
18
public
function
getComponentWithContent
(
isItem
$item) :
Component
19
{
20
$horizontal = $this->ui_factory->divider()->horizontal();
21
if
($item->getTitle()) {
22
$horizontal = $horizontal->withLabel($item->getTitle());
23
}
24
return
$horizontal;
25
}
26
}
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer
Class BaseTypeRenderer.
Definition:
BaseTypeRenderer.php:18
ILIAS\UI\Component
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
Interface IFactory.
Definition:
isItem.php:11
Component
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\SeparatorItemRenderer
Class SeparatorItemRenderer.
Definition:
SeparatorItemRenderer.php:12
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer
Definition:
BaseTypeRenderer.php:1
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\SeparatorItemRenderer\getComponentWithContent
getComponentWithContent(isItem $item)
Definition:
SeparatorItemRenderer.php:18
isItem
src
GlobalScreen
Scope
MainMenu
Collector
Renderer
SeparatorItemRenderer.php
Generated on Wed Apr 9 2025 20:01:38 for ILIAS by
1.8.13 (using
Doxyfile
)