ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
AddNewItemElement.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\ILIASObject\Creation
;
22
23
use
ILIAS\UI\Component\Symbol\Icon\Icon
;
24
use
ILIAS\Data\URI
;
25
26
class
AddNewItemElement
27
{
31
public
function
__construct
(
32
private
readonly
AddNewItemElementTypes
$type,
33
private
readonly
string
$label,
34
private
readonly ?
Icon
$icon = null,
35
private
readonly ?
URI
$creation_uri = null,
36
private
readonly array $sub_elements = []
37
) {
38
}
39
40
public
function
getType
():
AddNewItemElementTypes
41
{
42
return
$this->type;
43
}
44
45
public
function
getLabel
(): string
46
{
47
return
$this->label;
48
}
49
50
public
function
getIcon
():
Icon
51
{
52
return
$this->icon;
53
}
54
55
public
function
getCreationUri
():
URI
56
{
57
return
$this->creation_uri;
58
}
59
63
public
function
getSubElements
(): array
64
{
65
return
$this->sub_elements;
66
}
67
}
ILIAS\ILIASObject\Creation\AddNewItemElement\getCreationUri
getCreationUri()
Definition:
AddNewItemElement.php:55
Standard
ILIAS\ILIASObject\Creation\AddNewItemElement\getType
getType()
Definition:
AddNewItemElement.php:40
ILIAS\ILIASObject\Creation\AddNewItemElement\getSubElements
getSubElements()
Definition:
AddNewItemElement.php:63
ILIAS\ILIASObject\Creation\AddNewItemElement
Definition:
AddNewItemElement.php:26
Icon
ILIAS\ILIASObject\Creation\AddNewItemElement\getIcon
getIcon()
Definition:
AddNewItemElement.php:50
ILIAS\Data\URI
The scope of this class is split ilias-conform URI's into components.
Definition:
URI.php:34
ILIAS\ILIASObject\Creation
Definition:
AddNewItemElement.php:21
ILIAS\Data\URI
ILIAS\ILIASObject\Creation\AddNewItemElement\getLabel
getLabel()
Definition:
AddNewItemElement.php:45
ILIAS\ILIASObject\Creation\AddNewItemElementTypes
AddNewItemElementTypes
Definition:
AddNewItemElementTypes.php:23
ILIAS\ILIASObject\Creation\AddNewItemElement\__construct
__construct(private readonly AddNewItemElementTypes $type, private readonly string $label, private readonly ?Icon $icon=null, private readonly ?URI $creation_uri=null, private readonly array $sub_elements=[])
Definition:
AddNewItemElement.php:31
components
ILIAS
ILIASObject
src
Creation
AddNewItemElement.php
Generated on Wed Sep 10 2025 15:15:47 for ILIAS by
1.8.13 (using
Doxyfile
)