ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
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\SymbolDecoratorTrait
;
29
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\supportsAsynchronousLoading
;
30
35
class
TopParentItem
extends
AbstractParentItem
implements
isTopItem
,
hasTitle
,
hasSymbol
,
supportsAsynchronousLoading
36
{
37
use
SymbolDecoratorTrait
;
38
use
hasSymbolTrait
;
39
43
protected
$title
=
''
;
44
48
protected
$supports_async_loading
=
false
;
49
54
public
function
withTitle
(
string
$title
) :
hasTitle
55
{
56
$clone = clone($this);
57
$clone->title =
$title
;
58
59
return
$clone;
60
}
61
65
public
function
getTitle
() : string
66
{
67
return
$this->title
;
68
}
69
70
public
function
withSupportsAsynchronousLoading
(
bool
$supported) :
supportsAsynchronousLoading
71
{
72
$clone = clone($this);
73
$clone->supports_async_loading = $supported;
74
75
return
$clone;
76
}
77
78
public
function
supportsAsynchronousLoading
() : bool
79
{
80
return
$this->supports_async_loading
;
81
}
82
}
AbstractParentItem
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\withSupportsAsynchronousLoading
withSupportsAsynchronousLoading(bool $supported)
Definition:
TopParentItem.php:70
isTopItem
ILIAS\GlobalScreen\Scope\SymbolDecoratorTrait
trait SymbolDecoratorTrait
Definition:
SymbolDecoratorTrait.php:37
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem
Definition:
TopLinkItem.php:21
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\withTitle
withTitle(string $title)
Definition:
TopParentItem.php:54
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem
Class TopParentItem.
Definition:
TopParentItem.php:35
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:65
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasSymbol
hasSymbol()
Definition:
hasSymbolTrait.php:66
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\supportsAsynchronousLoading
supportsAsynchronousLoading()
Definition:
TopParentItem.php:78
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
Interface hasSymbol Methods for Entries with Symbols.
Definition:
hasSymbol.php:32
ILIAS\GlobalScreen\Scope\MainMenu\Factory\AbstractParentItem
Class AbstractParentItem.
Definition:
AbstractParentItem.php:26
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasSymbolTrait
trait hasSymbolTrait
Trait hasSymbolTrait.
Definition:
hasSymbolTrait.php:32
hasTitle
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\$supports_async_loading
$supports_async_loading
Definition:
TopParentItem.php:48
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\$title
$title
Definition:
TopParentItem.php:43
src
GlobalScreen
Scope
MainMenu
Factory
TopItem
TopParentItem.php
Generated on Tue Sep 2 2025 21:01:43 for ILIAS by
1.8.13 (using
Doxyfile
)