ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
Separator.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
namespace
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item
;
21
22
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\AbstractChildItem
;
23
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasTitle
;
24
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isChild
;
25
30
class
Separator
extends
AbstractChildItem
implements
hasTitle
,
isChild
31
{
32
protected
bool
$visible_title
=
false
;
33
protected
string
$title
=
''
;
34
39
public
function
withTitle
(
string
$title):
hasTitle
40
{
41
$clone = clone($this);
42
$clone->title =
$title
;
43
44
return
$clone;
45
}
46
50
public
function
getTitle
(): string
51
{
52
return
$this->title
;
53
}
54
55
public
function
withVisibleTitle
(
bool
$visible_title): self
56
{
57
$clone = clone($this);
58
$clone->visible_title =
$visible_title
;
59
60
return
$clone;
61
}
62
66
public
function
isTitleVisible
(): bool
67
{
68
return
$this->visible_title
;
69
}
70
}
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\$title
string $title
Definition:
Separator.php:33
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item
Definition:
Complex.php:21
isChild
ILIAS\GlobalScreen\Scope\MainMenu\Factory\isChild
Interface isChild.
Definition:
isChild.php:28
ILIAS\GlobalScreen\Scope\MainMenu\Factory\hasTitle
Interface hasTitle.
Definition:
hasTitle.php:26
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\isTitleVisible
isTitleVisible()
Definition:
Separator.php:66
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\withTitle
withTitle(string $title)
Definition:
Separator.php:39
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\getTitle
getTitle()
Definition:
Separator.php:50
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\withVisibleTitle
withVisibleTitle(bool $visible_title)
Definition:
Separator.php:55
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator\$visible_title
bool $visible_title
Definition:
Separator.php:32
hasTitle
AbstractChildItem
ILIAS\GlobalScreen\Scope\MainMenu\Factory\AbstractChildItem
Class AbstractBaseItem.
Definition:
AbstractChildItem.php:29
ILIAS\GlobalScreen\Scope\MainMenu\Factory\Item\Separator
Class Separator.
Definition:
Separator.php:30
components
ILIAS
GlobalScreen
src
Scope
MainMenu
Factory
Item
Separator.php
Generated on Mon Sep 1 2025 23:03:11 for ILIAS by
1.8.13 (using
Doxyfile
)