ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
◀ 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
TopParentItem.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem
;
22
23
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\AbstractParentItem
;
24
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasSymbol
;
25
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasSymbolTrait
;
26
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasTitle
;
27
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isTopItem
;
28
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\supportsAsynchronousLoading
;
29
33
class
TopParentItem
extends
AbstractParentItem
implements
34
isTopItem
,
35
hasTitle
,
36
hasSymbol
,
37
supportsAsynchronousLoading
38
{
39
use
hasSymbolTrait
;
40
41
protected
string
$title
=
''
;
42
43
protected
bool
$supports_async_loading
=
false
;
44
49
public
function
withTitle
(
string
$title):
hasTitle
50
{
51
$clone = clone($this);
52
$clone->title =
$title
;
53
54
return
$clone;
55
}
56
60
public
function
getTitle
(): string
61
{
62
return
$this->title
;
63
}
64
65
public
function
withSupportsAsynchronousLoading
(
bool
$supported):
supportsAsynchronousLoading
66
{
67
$clone = clone($this);
68
$clone->supports_async_loading = $supported;
69
70
return
$clone;
71
}
72
73
public
function
supportsAsynchronousLoading
(): bool
74
{
75
return
$this->supports_async_loading
;
76
}
77
}
AbstractParentItem
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\withSupportsAsynchronousLoading
withSupportsAsynchronousLoading(bool $supported)
Definition:
TopParentItem.php:65
isTopItem
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem
Definition:
TopLinkItem.php:21
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\withTitle
withTitle(string $title)
Definition:
TopParentItem.php:49
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem
Definition:
TopParentItem.php:33
supportsAsynchronousLoading
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isTopItem
Interface TopIs.
Definition:
isTopItem.php:26
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasTitle
Interface hasTitle.
Definition:
hasTitle.php:26
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\getTitle
getTitle()
Definition:
TopParentItem.php:60
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasSymbol
hasSymbol()
Definition:
hasSymbolTrait.php:63
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\supportsAsynchronousLoading
supportsAsynchronousLoading()
Definition:
TopParentItem.php:73
ILIAS\GlobalScreen\Scope\MainMenu\Factory\supportsAsynchronousLoading
Interface supportsAsynchronousLoading Types, which implement this interface, can load their content a...
Definition:
supportsAsynchronousLoading.php:27
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasSymbol
Definition:
hasSymbol.php:30
ILIAS\GlobalScreen\Scope\MainMenu\Factory\AbstractParentItem
Class AbstractParentItem.
Definition:
AbstractParentItem.php:27
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasSymbolTrait
trait hasSymbolTrait
Trait hasSymbolTrait.
Definition:
hasSymbolTrait.php:32
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\$supports_async_loading
bool $supports_async_loading
Definition:
TopParentItem.php:43
hasTitle
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\$title
string $title
Definition:
TopParentItem.php:41
components
ILIAS
GlobalScreen
src
Scope
MainMenu
Factory
TopItem
TopParentItem.php
Generated on Fri Apr 25 2025 23:02:44 for ILIAS by
1.8.13 (using
Doxyfile
)