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
LinkItem.php
Go to the documentation of this file.
1
<?php
namespace
ILIAS\GlobalScreen\Scope\MetaBar\Factory
;
2
3
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
4
use
ILIAS\GlobalScreen\Scope\MetaBar\Collector\Renderer\LinkItemRenderer
;
5
use
ILIAS\UI\Component\Symbol\Symbol
;
6
12
class
LinkItem
extends
AbstractChildItem
implements
isItem
,
hasTitle
,
hasSymbol
,
isChild
13
{
14
18
protected
$symbol
;
22
protected
$title
=
""
;
26
protected
$action
=
""
;
27
28
32
public
function
__construct
(
IdentificationInterface
$provider_identification
)
33
{
34
parent::__construct
($provider_identification);
35
$this->renderer =
new
LinkItemRenderer
();
36
}
37
38
44
public
function
withAction
(
string
$action
) :
LinkItem
45
{
46
$clone = clone($this);
47
$clone->action =
$action
;
48
49
return
$clone;
50
}
51
52
56
public
function
getAction
() : string
57
{
58
return
$this->action
;
59
}
60
61
65
public
function
withSymbol
(
Symbol
$symbol
) :
hasSymbol
66
{
67
$clone = clone($this);
68
$clone->symbol =
$symbol
;
69
70
return
$clone;
71
}
72
73
77
public
function
getSymbol
() : \
ILIAS
\
UI
\
Component
\
Symbol
\
Symbol
78
{
79
return
$this->symbol
;
80
}
81
82
86
public
function
hasSymbol
() : bool
87
{
88
return
($this->symbol instanceof
Symbol
);
89
}
90
91
95
public
function
withTitle
(
string
$title
) :
hasTitle
96
{
97
$clone = clone($this);
98
$clone->title =
$title
;
99
100
return
$clone;
101
}
102
103
107
public
function
getTitle
() : string
108
{
109
return
$this->title
;
110
}
111
}
ILIAS\GlobalScreen\Scope\MetaBar\Collector\Renderer\LinkItemRenderer
Class LinkItemRenderer.
Definition:
LinkItemRenderer.php:12
LinkItemRenderer
UI
Class Factory.
ILIAS\UI\Component\Symbol\Symbol
This describes a symbol.
Definition:
Symbol.php:11
ILIAS\GlobalScreen\Scope\MetaBar\Factory\LinkItem\$title
$title
Definition:
LinkItem.php:22
ILIAS\GlobalScreen\Scope\MetaBar\Factory\hasTitle
Interface hasTitle.
Definition:
hasTitle.php:8
ILIAS
Class ChatMainBarProvider .
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:8
ILIAS\GlobalScreen\Scope\MetaBar\Factory\LinkItem\getTitle
getTitle()
Definition:
LinkItem.php:107
ILIAS\UI\Component
ILIAS\GlobalScreen\Scope\MetaBar\Factory\AbstractBaseItem\$provider_identification
$provider_identification
Definition:
AbstractBaseItem.php:31
Symbol
ILIAS\GlobalScreen\Scope\MetaBar\Factory
Definition:
AbstractBaseItem.php:1
ILIAS\GlobalScreen\Scope\MetaBar\Factory\LinkItem\withSymbol
withSymbol(Symbol $symbol)
Definition:
LinkItem.php:65
ILIAS\GlobalScreen\Scope\MetaBar\Factory\isChild
Interface isChild.
Definition:
isChild.php:10
IdentificationInterface
ILIAS\GlobalScreen\Scope\MetaBar\Factory\LinkItem\withTitle
withTitle(string $title)
Definition:
LinkItem.php:95
ILIAS\GlobalScreen\Scope\MetaBar\Factory\LinkItem\withAction
withAction(string $action)
Definition:
LinkItem.php:44
ILIAS\GlobalScreen\Scope\MetaBar\Factory\isItem
Class isItem.
Definition:
isItem.php:11
ILIAS\GlobalScreen\Scope\MetaBar\Factory\LinkItem\$action
$action
Definition:
LinkItem.php:26
ILIAS\GlobalScreen\Scope\MetaBar\Factory\LinkItem\__construct
__construct(IdentificationInterface $provider_identification)
Definition:
LinkItem.php:32
ILIAS\GlobalScreen\Scope\MetaBar\Factory\hasSymbol
Interface hasSymbol.
Definition:
hasSymbol.php:10
ILIAS\GlobalScreen\Scope\MetaBar\Factory\AbstractChildItem
Class AbstractChildItem.
Definition:
AbstractChildItem.php:10
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:30
ILIAS\GlobalScreen\Scope\MetaBar\Factory\LinkItem\$symbol
$symbol
Definition:
LinkItem.php:18
ILIAS\GlobalScreen\Scope\MetaBar\Factory\LinkItem\getAction
getAction()
Definition:
LinkItem.php:56
ILIAS\GlobalScreen\Scope\MetaBar\Factory\LinkItem
Class LinkItem.
Definition:
LinkItem.php:12
ILIAS\GlobalScreen\Scope\MetaBar\Factory\LinkItem\getSymbol
getSymbol()
Definition:
LinkItem.php:77
ILIAS\GlobalScreen\Scope\MetaBar\Factory\LinkItem\hasSymbol
hasSymbol()
Definition:
LinkItem.php:86
src
GlobalScreen
Scope
MetaBar
Factory
LinkItem.php
Generated on Tue Apr 8 2025 20:01:33 for ILIAS by
1.8.13 (using
Doxyfile
)