ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
GroupDTO.php
Go to the documentation of this file.
1
<?php
2
19
namespace
ILIAS\GlobalScreen\UI\Footer\Groups
;
20
21
class
GroupDTO
implements
Group
22
{
23
public
function
__construct
(
24
private
string
$id
,
25
private
string
$title,
26
private
bool
$active,
27
private
int
$position,
28
private
int
$items,
29
private
bool
$core =
false
30
) {
31
}
32
33
public
function
getId
(): string
34
{
35
return
$this->id
;
36
}
37
38
public
function
withId
(
string
$id
): self
39
{
40
$clone = clone $this;
41
$clone->id =
$id
;
42
return
$clone;
43
}
44
45
public
function
getTitle
(): string
46
{
47
return
$this->title;
48
}
49
50
public
function
withTitle
(
string
$title): self
51
{
52
$clone = clone $this;
53
$clone->title = $title;
54
return
$clone;
55
}
56
57
public
function
withActive
(
bool
$active): self
58
{
59
$clone = clone $this;
60
$clone->active = $active;
61
return
$clone;
62
}
63
64
public
function
isActive
(): bool
65
{
66
return
$this->active;
67
}
68
69
public
function
withPosition
(
int
$position): self
70
{
71
$clone = clone $this;
72
$clone->position = $position;
73
return
$clone;
74
}
75
76
public
function
getPosition
():
int
77
{
78
return
$this->position;
79
}
80
81
public
function
isCore
(): bool
82
{
83
return
$this->core;
84
}
85
86
public
function
getItems
():
int
87
{
88
return
$this->items;
89
}
90
91
}
ILIAS\GlobalScreen\UI\Footer\Groups
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Group.php:19
ILIAS\GlobalScreen\UI\Footer\Groups\GroupDTO
Definition:
GroupDTO.php:21
ILIAS\GlobalScreen\UI\Footer\Groups\GroupDTO\withActive
withActive(bool $active)
Definition:
GroupDTO.php:57
ILIAS\GlobalScreen\UI\Footer\Groups\GroupDTO\getPosition
getPosition()
Definition:
GroupDTO.php:76
Group
ILIAS\GlobalScreen\UI\Footer\Groups\GroupDTO\withPosition
withPosition(int $position)
Definition:
GroupDTO.php:69
ILIAS\GlobalScreen\UI\Footer\Groups\GroupDTO\withId
withId(string $id)
Definition:
GroupDTO.php:38
ILIAS\GlobalScreen\UI\Footer\Groups\GroupDTO\withTitle
withTitle(string $title)
Definition:
GroupDTO.php:50
ILIAS\GlobalScreen\UI\Footer\Groups\GroupDTO\getTitle
getTitle()
Definition:
GroupDTO.php:45
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
ILIAS\GlobalScreen\UI\Footer\Groups\GroupDTO\__construct
__construct(private string $id, private string $title, private bool $active, private int $position, private int $items, private bool $core=false)
Definition:
GroupDTO.php:23
ILIAS\GlobalScreen\UI\Footer\Groups\GroupDTO\getId
getId()
Definition:
GroupDTO.php:33
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\GlobalScreen\UI\Footer\Groups\GroupDTO\isCore
isCore()
Definition:
GroupDTO.php:81
ILIAS\GlobalScreen\UI\Footer\Groups\GroupDTO\getItems
getItems()
Definition:
GroupDTO.php:86
ILIAS\GlobalScreen\UI\Footer\Groups\GroupDTO\isActive
isActive()
Definition:
GroupDTO.php:64
components
ILIAS
GlobalScreen_
classes
UI
Footer
Groups
GroupDTO.php
Generated on Mon Sep 1 2025 23:03:13 for ILIAS by
1.8.13 (using
Doxyfile
)