ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ 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
11
class
Separator
extends
AbstractChildItem
implements
hasTitle
12
{
13
17
protected
$visible_title
=
false
;
21
protected
$title
=
''
;
22
23
29
public
function
withTitle
(
string
$title
) :
hasTitle
30
{
31
$clone = clone($this);
32
$clone->title =
$title
;
33
34
return
$clone;
35
}
36
37
41
public
function
getTitle
() : string
42
{
43
return
$this->title
;
44
}
45
46
52
public
function
withVisibleTitle
(
bool
$visible_title
) :
Separator
53
{
54
$clone = clone($this);
55
$clone->visible_title =
$visible_title
;
56
57
return
$clone;
58
}
59
60
64
public
function
isTitleVisible
() : bool
65
{
66
return
$this->visible_title
;
67
}
68
}
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item
Definition:
Complex.php:1
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasTitle
Interface hasTitle.
Definition:
hasTitle.php:8
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\$title
$title
Definition:
Separator.php:21
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\$visible_title
$visible_title
Definition:
Separator.php:17
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\isTitleVisible
isTitleVisible()
Definition:
Separator.php:64
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\withTitle
withTitle(string $title)
Definition:
Separator.php:29
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\getTitle
getTitle()
Definition:
Separator.php:41
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\withVisibleTitle
withVisibleTitle(bool $visible_title)
Definition:
Separator.php:52
php
hasTitle
AbstractChildItem
ILIAS\GlobalScreen\Scope\MainMenu\Factory\AbstractChildItem
Class AbstractBaseItem.
Definition:
AbstractChildItem.php:11
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator
Class Separator.
Definition:
Separator.php:11
src
GlobalScreen
Scope
MainMenu
Factory
Item
Separator.php
Generated on Thu Jan 16 2025 19:02:37 for ILIAS by
1.8.13 (using
Doxyfile
)