ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ 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\hasTitle
;
5
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isTopItem
;
6
12
class
TopParentItem
extends
AbstractParentItem
implements
isTopItem
,
hasTitle
13
{
14
18
protected
$title
=
''
;
22
protected
$icon_path
=
''
;
23
24
30
public
function
withTitle
(
string
$title
) :
hasTitle
31
{
32
$clone = clone($this);
33
$clone->title =
$title
;
34
35
return
$clone;
36
}
37
38
42
public
function
getTitle
() : string
43
{
44
return
$this->title
;
45
}
46
}
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\$icon_path
$icon_path
Definition:
TopParentItem.php:22
AbstractParentItem
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:30
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem
Class TopParentItem.
Definition:
TopParentItem.php:12
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:42
ILIAS\GlobalScreen\Scope\MainMenu\Factory\AbstractParentItem
Class AbstractParentItem.
Definition:
AbstractParentItem.php:8
php
hasTitle
ILIAS\GlobalScreen\Scope\MainMenu\Factory\TopItem\TopParentItem\$title
$title
Definition:
TopParentItem.php:18
src
GlobalScreen
Scope
MainMenu
Factory
TopItem
TopParentItem.php
Generated on Thu Jan 16 2025 19:02:37 for ILIAS by
1.8.13 (using
Doxyfile
)