ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
RepositoryLinkItemRenderer.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer
;
22
23
use
ILIAS\GlobalScreen\Collector\Renderer\DecoratorApplierTrait
;
24
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isInterchangeableItem
;
25
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
;
26
use
ILIAS\UI\Component\Component
;
27
31
class
RepositoryLinkItemRenderer
extends
BaseTypeRenderer
32
{
33
use
DecoratorApplierTrait
;
34
38
#[\Override]
39
public
function
getComponentWithContent
(
isItem
$item):
Component
40
{
41
if
($item instanceof
isInterchangeableItem
&& !$item->getParent()) {
42
return
$this->ui_factory->link()->bulky($this->
getStandardSymbol
($item), $item->getTitle(), $this->
getURI
($item->getAction()));
43
}
44
return
$this->ui_factory->link()->bulky($this->
getStandardSymbol
($item), $item->getTitle(), $this->
getURI
($item->getAction()));
45
}
46
}
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isInterchangeableItem
Definition:
isInterchangeableItem.php:27
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\RepositoryLinkItemRenderer\getComponentWithContent
getComponentWithContent(isItem $item)
Definition:
RepositoryLinkItemRenderer.php:39
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer
Class BaseTypeRenderer.
Definition:
BaseTypeRenderer.php:41
ILIAS\UI\Component
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isItem
Interface IFactory.
Definition:
isItem.php:31
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\RepositoryLinkItemRenderer
Class RepositoryLinkItemRenderer.
Definition:
RepositoryLinkItemRenderer.php:31
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer
Definition:
BaseTypeRenderer.php:21
DecoratorApplierTrait
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getURI
getURI(string $uri_string)
Definition:
BaseTypeRenderer.php:149
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\BaseTypeRenderer\getStandardSymbol
getStandardSymbol(isItem $item)
Definition:
BaseTypeRenderer.php:114
DecoratorApplierTrait
isItem
isInterchangeableItem
components
ILIAS
GlobalScreen
src
Scope
MainMenu
Collector
Renderer
RepositoryLinkItemRenderer.php
Generated on Sun Apr 13 2025 23:03:01 for ILIAS by
1.8.13 (using
Doxyfile
)