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
LinkListItemRenderer.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
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Link
;
26
use
ILIAS\UI\Component\MainControls\Slate\Slate
;
27
32
class
LinkListItemRenderer
extends
BaseTypeRenderer
33
{
34
use
MakeSlateAsync
,
SlateSessionStateCode
{
35
MakeSlateAsync::hash
insteadof
SlateSessionStateCode
;
36
MakeSlateAsync::unhash
insteadof
SlateSessionStateCode
;
37
}
38
use
isSupportedTrait
;
39
43
public
function
getComponentWithContent
(
isItem
$item):
Component
44
{
45
$slate = $this->ui_factory->mainControls()->slate()->combined($item->getTitle(), $this->
getStandardSymbol
($item));
49
foreach
($item->getLinks() as $link) {
50
if
(!$link->isVisible()) {
51
continue
;
52
}
53
$link = $this->ui_factory->link()->bulky($this->
getStandardSymbol
($link), $link->getTitle(), $this->
getURI
($link->getAction()));
54
$slate = $slate->withAdditionalEntry($link);
55
}
56
57
return
$slate;
58
}
59
}
insteadof
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer
Class BaseTypeRenderer.
Definition:
BaseTypeRenderer.php:40
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\LinkListItemRenderer\SlateSessionStateCode
MakeSlateAsync::unhash insteadof SlateSessionStateCode
Definition:
LinkListItemRenderer.php:36
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
Slate
Link
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\BaseTypeRenderer\getComponentWithContent
getComponentWithContent(isItem $item)
Definition:
BaseTypeRenderer.php:82
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\LinkListItemRenderer
Class LinkListItemRenderer.
Definition:
LinkListItemRenderer.php:32
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getURI
getURI(string $uri_string)
Definition:
BaseTypeRenderer.php:152
SlateSessionStateCode
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getStandardSymbol
getStandardSymbol(isItem $item)
Definition:
BaseTypeRenderer.php:117
isItem
isSupportedTrait
src
GlobalScreen
Scope
MainMenu
Collector
Renderer
LinkListItemRenderer.php
Generated on Tue Apr 1 2025 22:02:45 for ILIAS by
1.8.13 (using
Doxyfile
)