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
LinkListItemRenderer.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
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Link
;
9
15
class
LinkListItemRenderer
extends
BaseTypeRenderer
16
{
17
use
MakeSlateAsync
,
SlateSessionStateCode
{
18
MakeSlateAsync::hash
insteadof
SlateSessionStateCode
;
19
MakeSlateAsync::unhash
insteadof
SlateSessionStateCode
;
20
}
21
use
isSupportedTrait
;
22
23
27
public
function
getComponentWithContent
(
isItem
$item) :
Component
28
{
29
$slate = $this->ui_factory->mainControls()->slate()->combined($item->getTitle(), $this->
getStandardSymbol
($item));
33
foreach
($item->getLinks() as $link) {
34
if
(!$link->isVisible()) {
35
continue
;
36
}
37
$link = $this->ui_factory->link()->bulky($this->
getStandardSymbol
($link), $link->getTitle(), $this->
getURI
($link->getAction()));
38
$slate = $slate->withAdditionalEntry($link);
39
}
40
41
return
$slate;
42
}
43
}
insteadof
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer
Class BaseTypeRenderer.
Definition:
BaseTypeRenderer.php:18
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\LinkListItemRenderer\SlateSessionStateCode
MakeSlateAsync::unhash insteadof SlateSessionStateCode
Definition:
LinkListItemRenderer.php:19
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
Link
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer
Definition:
BaseTypeRenderer.php:1
isSupportedTrait
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getComponentWithContent
getComponentWithContent(isItem $item)
Definition:
BaseTypeRenderer.php:53
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\LinkListItemRenderer
Class LinkListItemRenderer.
Definition:
LinkListItemRenderer.php:15
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getURI
getURI(string $uri_string)
Definition:
BaseTypeRenderer.php:111
SlateSessionStateCode
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getStandardSymbol
getStandardSymbol(isItem $item)
Definition:
BaseTypeRenderer.php:84
isItem
isSupportedTrait
src
GlobalScreen
Scope
MainMenu
Collector
Renderer
LinkListItemRenderer.php
Generated on Mon Apr 14 2025 20:01:29 for ILIAS by
1.8.13 (using
Doxyfile
)