ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
Tab.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\GUI\Tabs
;
22
23
use
ILIAS\Data\URI
;
24
29
class
Tab
30
{
31
private
string
$permission
=
'visible'
;
32
33
public
function
__construct
(
34
private
string
$id
,
35
private
string
$language_key,
36
private
URI
$target,
37
private
string
$handling_class,
38
private
?
Tab
$parent =
null
,
39
) {
40
}
41
42
public
function
getId
(): string
43
{
44
return
$this->id
;
45
}
46
47
public
function
getHandlingClass
(): string
48
{
49
return
$this->handling_class;
50
}
51
52
public
function
getLanguageKey
(): string
53
{
54
return
$this->language_key;
55
}
56
57
public
function
getTarget
():
URI
58
{
59
return
$this->target;
60
}
61
62
public
function
getParent
(): ?
Tab
63
{
64
return
$this->parent;
65
}
66
67
public
function
getPermission
(): string
68
{
69
return
$this->permission
;
70
}
71
72
public
function
withPermission
(
string
$permission
): self
73
{
74
$this->permission =
$permission
;
75
return
$this;
76
}
77
78
public
function
withParent
(
Tab
$parent): self
79
{
80
$this->parent = $parent;
81
return
$this;
82
}
83
84
}
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
ILIAS\Data\URI
The scope of this class is split ilias-conform URI's into components.
Definition:
URI.php:35
ILIAS\GlobalScreen\GUI\Tabs\Tab
Definition:
Tab.php:30
ILIAS\GlobalScreen\GUI\Tabs\Tab\withPermission
withPermission(string $permission)
Definition:
Tab.php:72
ILIAS\GlobalScreen\GUI\Tabs\Tab\withParent
withParent(Tab $parent)
Definition:
Tab.php:78
ILIAS\GlobalScreen\GUI\Tabs\Tab\getParent
getParent()
Definition:
Tab.php:62
ILIAS\GlobalScreen\GUI\Tabs\Tab\__construct
__construct(private string $id, private string $language_key, private URI $target, private string $handling_class, private ?Tab $parent=null,)
Definition:
Tab.php:33
ILIAS\GlobalScreen\GUI\Tabs\Tab\getTarget
getTarget()
Definition:
Tab.php:57
ILIAS\GlobalScreen\GUI\Tabs\Tab\getPermission
getPermission()
Definition:
Tab.php:67
ILIAS\GlobalScreen\GUI\Tabs\Tab\$permission
string $permission
Definition:
Tab.php:31
ILIAS\GlobalScreen\GUI\Tabs\Tab\getLanguageKey
getLanguageKey()
Definition:
Tab.php:52
ILIAS\GlobalScreen\GUI\Tabs\Tab\getHandlingClass
getHandlingClass()
Definition:
Tab.php:47
ILIAS\GlobalScreen\GUI\Tabs\Tab\getId
getId()
Definition:
Tab.php:42
ILIAS\GlobalScreen\GUI\Tabs
Definition:
Structure.php:21
components
ILIAS
GlobalScreen
src
GUI
Tabs
Tab.php
Generated on Sat Oct 18 2025 23:03:06 for ILIAS by
1.9.4 (using
Doxyfile
)