ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\ILIASObject\Creation\AddNewItemElement Class Reference
+ Collaboration diagram for ILIAS\ILIASObject\Creation\AddNewItemElement:

Public Member Functions

 __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=[])
 
 getType ()
 
 getLabel ()
 
 getIcon ()
 
 getCreationUri ()
 
 getSubElements ()
 

Detailed Description

Definition at line 26 of file AddNewItemElement.php.

Constructor & Destructor Documentation

◆ __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 = [] 
)
Parameters
array<AddNewItemElement>$content

Definition at line 31 of file AddNewItemElement.php.

37 {
38 }

Member Function Documentation

◆ getCreationUri()

ILIAS\ILIASObject\Creation\AddNewItemElement::getCreationUri ( )

Definition at line 55 of file AddNewItemElement.php.

55 : URI
56 {
57 return $this->creation_uri;
58 }
The scope of this class is split ilias-conform URI's into components.
Definition: URI.php:35

◆ getIcon()

ILIAS\ILIASObject\Creation\AddNewItemElement::getIcon ( )

Definition at line 50 of file AddNewItemElement.php.

50 : Icon
51 {
52 return $this->icon;
53 }
This describes how an icon could be modified during construction of UI.
Definition: Icon.php:29

◆ getLabel()

ILIAS\ILIASObject\Creation\AddNewItemElement::getLabel ( )

Definition at line 45 of file AddNewItemElement.php.

45 : string
46 {
47 return $this->label;
48 }

◆ 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 ( )

Definition at line 40 of file AddNewItemElement.php.

41 {
42 return $this->type;
43 }

The documentation for this class was generated from the following file: