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
TopLegacyItem.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\TopLegacyItemRenderer
;
5
use
ILIAS\UI\Component\Legacy\Legacy
;
6
use
ILIAS\UI\Component\Symbol\Glyph\Glyph
;
7
use
ILIAS\UI\Component\Symbol\Symbol
;
8
14
class
TopLegacyItem
extends
AbstractBaseItem
implements
isItem
,
hasSymbol
,
hasTitle
15
{
16
20
protected
$glyph
;
24
protected
$title
=
""
;
28
protected
$content
= null;
29
30
34
public
function
__construct
(
IdentificationInterface
$provider_identification
)
35
{
36
parent::__construct
($provider_identification);
37
$this->renderer =
new
TopLegacyItemRenderer
();
38
}
39
40
44
public
function
withSymbol
(
Symbol
$symbol) :
hasSymbol
45
{
46
$clone = clone($this);
47
$clone->glyph = $symbol;
48
49
return
$clone;
50
}
51
52
56
public
function
getSymbol
() :
Symbol
57
{
58
return
$this->glyph
;
59
}
60
61
65
public
function
hasSymbol
() : bool
66
{
67
return
($this->glyph instanceof
Symbol
);
68
}
69
70
74
public
function
withTitle
(
string
$title
) :
hasTitle
75
{
76
$clone = clone($this);
77
$clone->title =
$title
;
78
79
return
$clone;
80
}
81
82
86
public
function
getTitle
() : string
87
{
88
return
$this->title
;
89
}
90
91
97
public
function
withLegacyContent
(
Legacy
$content
) :
TopLegacyItem
98
{
99
$clone = clone $this;
100
$clone->content =
$content
;
101
102
return
$clone;
103
}
104
105
109
public
function
getLegacyContent
() :
Legacy
110
{
111
return
$this->content
;
112
}
113
114
118
public
function
hasLegacyContent
() : bool
119
{
120
return
($this->content instanceof
Legacy
);
121
}
122
}
Glyph
ILIAS\UI\Component\Symbol\Symbol
This describes a symbol.
Definition:
Symbol.php:11
ILIAS\GlobalScreen\Scope\MetaBar\Factory\AbstractBaseItem
Class AbstractBaseItem.
Definition:
AbstractBaseItem.php:13
ILIAS\GlobalScreen\Scope\MetaBar\Collector\Renderer\TopLegacyItemRenderer
Class TopLegacyItemRenderer.
Definition:
TopLegacyItemRenderer.php:12
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\$glyph
$glyph
Definition:
TopLegacyItem.php:20
ILIAS\GlobalScreen\Scope\MetaBar\Factory\hasTitle
Interface hasTitle.
Definition:
hasTitle.php:8
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:8
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\withLegacyContent
withLegacyContent(Legacy $content)
Definition:
TopLegacyItem.php:97
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\getTitle
getTitle()
Definition:
TopLegacyItem.php:86
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\getLegacyContent
getLegacyContent()
Definition:
TopLegacyItem.php:109
TopLegacyItemRenderer
ILIAS\UI\Component\Legacy\Legacy
Definition:
Legacy.php:14
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\TopLegacyItem\__construct
__construct(IdentificationInterface $provider_identification)
Definition:
TopLegacyItem.php:34
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem
Class TopLegacyItem.
Definition:
TopLegacyItem.php:14
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\$title
$title
Definition:
TopLegacyItem.php:24
IdentificationInterface
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\withTitle
withTitle(string $title)
Definition:
TopLegacyItem.php:74
ILIAS\GlobalScreen\Scope\MetaBar\Factory\isItem
Class isItem.
Definition:
isItem.php:11
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\$content
$content
Definition:
TopLegacyItem.php:28
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\getSymbol
getSymbol()
Definition:
TopLegacyItem.php:56
ILIAS\GlobalScreen\Scope\MetaBar\Factory\hasSymbol
Interface hasSymbol.
Definition:
hasSymbol.php:10
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\withSymbol
withSymbol(Symbol $symbol)
Definition:
TopLegacyItem.php:44
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\hasSymbol
hasSymbol()
Definition:
TopLegacyItem.php:65
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:30
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\hasLegacyContent
hasLegacyContent()
Definition:
TopLegacyItem.php:118
Legacy
src
GlobalScreen
Scope
MetaBar
Factory
TopLegacyItem.php
Generated on Thu Apr 10 2025 20:01:35 for ILIAS by
1.8.13 (using
Doxyfile
)