ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
◀ 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
TopLegacyItem.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Scope\MetaBar\Factory
;
22
23
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
24
use
ILIAS\GlobalScreen\Scope\MetaBar\Collector\Renderer\TopLegacyItemRenderer
;
25
use
ILIAS\UI\Component\Legacy\Content
;
26
use
ILIAS\UI\Component\Symbol\Symbol
;
27
31
class
TopLegacyItem
extends
AbstractBaseItem
implements
isItem
,
hasSymbol
,
hasTitle
,
hasContentLanguage
32
{
33
use
ContentLanguage
;
34
35
protected
?
Symbol
$symbol
=
null
;
36
protected
string
$title
=
""
;
37
protected
?
Content
$content
=
null
;
38
42
public
function
__construct
(
IdentificationInterface
$provider_identification)
43
{
44
parent::__construct
($provider_identification);
45
$this->
renderer
=
new
TopLegacyItemRenderer
();
46
}
47
51
public
function
withSymbol
(
Symbol
$symbol):
hasSymbol
52
{
53
$clone = clone($this);
54
$clone->symbol =
$symbol
;
55
56
return
$clone;
57
}
58
62
public
function
getSymbol
():
Symbol
63
{
64
return
$this->symbol
;
65
}
66
70
public
function
hasSymbol
(): bool
71
{
72
return
($this->
symbol
instanceof
Symbol
);
73
}
74
78
public
function
withTitle
(
string
$title):
hasTitle
79
{
80
$clone = clone($this);
81
$clone->title =
$title
;
82
83
return
$clone;
84
}
85
89
public
function
getTitle
(): string
90
{
91
return
$this->title
;
92
}
93
94
public
function
withLegacyContent
(
Content
$content): self
95
{
96
$clone = clone $this;
97
$clone->content =
$content
;
98
99
return
$clone;
100
}
101
105
public
function
getLegacyContent
():
Content
106
{
107
return
$this->content
;
108
}
109
113
public
function
hasLegacyContent
(): bool
114
{
115
return
($this->content instanceof Legacy);
116
}
117
}
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\$content
Content $content
Definition:
TopLegacyItem.php:37
ILIAS\UI\Component\Legacy\Content
Definition:
Content.php:32
ILIAS\UI\Component\Symbol\Symbol
This describes a symbol.
Definition:
Symbol.php:29
ILIAS\GlobalScreen\Scope\MetaBar\Factory\AbstractBaseItem
Definition:
AbstractBaseItem.php:33
ILIAS\GlobalScreen\Scope\MetaBar\Collector\Renderer\TopLegacyItemRenderer
Class TopLegacyItemRenderer.
Definition:
TopLegacyItemRenderer.php:30
ILIAS\GlobalScreen\Scope\MetaBar\Factory\hasTitle
Interface hasTitle.
Definition:
hasTitle.php:27
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\withLegacyContent
withLegacyContent(Content $content)
Definition:
TopLegacyItem.php:94
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:29
ILIAS\GlobalScreen\Scope\MetaBar\Factory\hasContentLanguage
Definition:
hasContentLanguage.php:23
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\getTitle
getTitle()
Definition:
TopLegacyItem.php:89
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\$symbol
Symbol $symbol
Definition:
TopLegacyItem.php:35
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\getLegacyContent
getLegacyContent()
Definition:
TopLegacyItem.php:105
TopLegacyItemRenderer
renderer
renderer()
Definition:
UITestHelper.php:69
Symbol
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\$title
string $title
Definition:
TopLegacyItem.php:36
ILIAS\UI\Component\Legacy\Content
ILIAS\GlobalScreen\Scope\MetaBar\Factory
Definition:
AbstractBaseItem.php:21
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:142
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\__construct
__construct(IdentificationInterface $provider_identification)
Definition:
TopLegacyItem.php:42
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem
Definition:
TopLegacyItem.php:31
IdentificationInterface
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\withTitle
withTitle(string $title)
Definition:
TopLegacyItem.php:78
ILIAS\GlobalScreen\Scope\MetaBar\Factory\isItem
Definition:
isItem.php:29
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\getSymbol
getSymbol()
Definition:
TopLegacyItem.php:62
ILIAS\GlobalScreen\Scope\MetaBar\Factory\hasSymbol
Definition:
hasSymbol.php:30
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\withSymbol
withSymbol(Symbol $symbol)
Definition:
TopLegacyItem.php:51
ILIAS\Repository\symbol
symbol()
Definition:
trait.GlobalDICGUIServices.php:209
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\hasSymbol
hasSymbol()
Definition:
TopLegacyItem.php:70
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\hasLegacyContent
hasLegacyContent()
Definition:
TopLegacyItem.php:113
ILIAS\GlobalScreen\Scope\MetaBar\Factory\ContentLanguage
trait ContentLanguage
Definition:
ContentLanguage.php:26
components
ILIAS
GlobalScreen
src
Scope
MetaBar
Factory
TopLegacyItem.php
Generated on Tue Apr 8 2025 23:03:29 for ILIAS by
1.8.13 (using
Doxyfile
)