ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Separator.php
Go to the documentation of this file.
1
<?php
namespace
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item
;
2
3
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\AbstractChildItem
;
4
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasTitle
;
5
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isChild
;
6
12
class
Separator
extends
AbstractChildItem
implements
hasTitle
,
isChild
13
{
14
18
protected
$visible_title
=
false
;
22
protected
$title
=
''
;
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
47
53
public
function
withVisibleTitle
(
bool
$visible_title
) :
Separator
54
{
55
$clone = clone($this);
56
$clone->visible_title =
$visible_title
;
57
58
return
$clone;
59
}
60
61
65
public
function
isTitleVisible
() : bool
66
{
67
return
$this->visible_title
;
68
}
69
}
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item
Definition:
Complex.php:1
isChild
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isChild
Interface isChild.
Definition:
isChild.php:9
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasTitle
Interface hasTitle.
Definition:
hasTitle.php:8
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\$title
$title
Definition:
Separator.php:22
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\$visible_title
$visible_title
Definition:
Separator.php:18
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\isTitleVisible
isTitleVisible()
Definition:
Separator.php:65
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\withTitle
withTitle(string $title)
Definition:
Separator.php:30
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\getTitle
getTitle()
Definition:
Separator.php:42
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\withVisibleTitle
withVisibleTitle(bool $visible_title)
Definition:
Separator.php:53
hasTitle
AbstractChildItem
ILIAS\GlobalScreen\Scope\MainMenu\Factory\AbstractChildItem
Class AbstractBaseItem.
Definition:
AbstractChildItem.php:10
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator
Class Separator.
Definition:
Separator.php:12
src
GlobalScreen
Scope
MainMenu
Factory
Item
Separator.php
Generated on Tue Sep 2 2025 20:01:28 for ILIAS by
1.8.13 (using
Doxyfile
)