ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
TopParentItem.php
Go to the documentation of this file.
1
<?php
namespace
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem
;
2
3
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\AbstractParentItem
;
4
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasSymbol
;
5
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasSymbolTrait
;
6
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasTitle
;
7
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isTopItem
;
8
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\SymbolDecoratorTrait
;
9
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\supportsAsynchronousLoading
;
10
15
class
TopParentItem
extends
AbstractParentItem
implements
isTopItem
,
hasTitle
,
hasSymbol
,
supportsAsynchronousLoading
16
{
17
use
SymbolDecoratorTrait
;
18
use
hasSymbolTrait
;
19
23
protected
$title
=
''
;
27
protected
$supports_async_loading
=
false
;
28
33
public
function
withTitle
(
string
$title
) :
hasTitle
34
{
35
$clone = clone($this);
36
$clone->title =
$title
;
37
38
return
$clone;
39
}
40
44
public
function
getTitle
() : string
45
{
46
return
$this->title
;
47
}
48
49
public
function
withSupportsAsynchronousLoading
(
bool
$supported) :
supportsAsynchronousLoading
50
{
51
$clone = clone($this);
52
$clone->supports_async_loading = $supported;
53
54
return
$clone;
55
}
56
57
public
function
supportsAsynchronousLoading
() : bool
58
{
59
return
$this->supports_async_loading
;
60
}
61
}
AbstractParentItem
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\withSupportsAsynchronousLoading
withSupportsAsynchronousLoading(bool $supported)
Definition:
TopParentItem.php:49
isTopItem
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem
Definition:
TopLinkItem.php:1
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\withTitle
withTitle(string $title)
Definition:
TopParentItem.php:33
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem
Class TopParentItem.
Definition:
TopParentItem.php:15
supportsAsynchronousLoading
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isTopItem
Interface TopIs.
Definition:
isTopItem.php:8
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasTitle
Interface hasTitle.
Definition:
hasTitle.php:8
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\getTitle
getTitle()
Definition:
TopParentItem.php:44
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasSymbol
hasSymbol()
Definition:
hasSymbolTrait.php:44
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\supportsAsynchronousLoading
supportsAsynchronousLoading()
Definition:
TopParentItem.php:57
ILIAS\GlobalScreen\Scope\MainMenu\Factory\supportsAsynchronousLoading
Interface supportsAsynchronousLoading.
Definition:
supportsAsynchronousLoading.php:10
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasSymbol
Interface hasSymbol Methods for Entries with Symbols.
Definition:
hasSymbol.php:11
ILIAS\GlobalScreen\Scope\MainMenu\Factory\AbstractParentItem
Class AbstractParentItem.
Definition:
AbstractParentItem.php:7
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasSymbolTrait
trait hasSymbolTrait
Trait hasSymbolTrait.
Definition:
hasSymbolTrait.php:10
hasTitle
ILIAS\GlobalScreen\Scope\MainMenu\Factory\SymbolDecoratorTrait
trait SymbolDecoratorTrait
Definition:
SymbolDecoratorTrait.php:18
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\$supports_async_loading
$supports_async_loading
Definition:
TopParentItem.php:27
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\$title
$title
Definition:
TopParentItem.php:23
src
GlobalScreen
Scope
MainMenu
Factory
TopItem
TopParentItem.php
Generated on Tue Sep 2 2025 20:01:28 for ILIAS by
1.8.13 (using
Doxyfile
)