Definition at line 26 of file AddNewItemElement.php.
◆ __construct()
ILIAS\ILIASObject\Creation\AddNewItemElement::__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 = [] |
|
) |
| |
◆ getCreationUri()
ILIAS\ILIASObject\Creation\AddNewItemElement::getCreationUri |
( |
| ) |
|
Definition at line 55 of file AddNewItemElement.php.
56 {
57 return $this->creation_uri;
58 }
The scope of this class is split ilias-conform URI's into components.
◆ getIcon()
ILIAS\ILIASObject\Creation\AddNewItemElement::getIcon |
( |
| ) |
|
Definition at line 50 of file AddNewItemElement.php.
51 {
52 return $this->icon;
53 }
This describes how an icon could be modified during construction of UI.
◆ getLabel()
ILIAS\ILIASObject\Creation\AddNewItemElement::getLabel |
( |
| ) |
|
◆ getSubElements()
ILIAS\ILIASObject\Creation\AddNewItemElement::getSubElements |
( |
| ) |
|
- Returns
- array<AddNewItemElement>
Definition at line 63 of file AddNewItemElement.php.
63 : array
64 {
65 return $this->sub_elements;
66 }
◆ getType()
ILIAS\ILIASObject\Creation\AddNewItemElement::getType |
( |
| ) |
|
The documentation for this class was generated from the following file: