ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Item.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27
31interface Item extends Component
32{
37 public function getTitle();
38
42 public function withDescription(string $description): Item;
43
47 public function getDescription(): ?string;
48
55 public function withProperties(array $properties): Item;
56
61 public function getProperties(): array;
62}
A component is the most general form of an entity in the UI.
Definition: Component.php:28
Common interface to all items.
Definition: Item.php:32
withDescription(string $description)
Create a new item with an attached description.
withProperties(array $properties)
Get a new item with the given properties as key-value pairs.
getProperties()
Get the properties of the appointment.
getDescription()
Get the description of the item.
getTitle()
Gets the title of the item.
This describes how an icon could be modified during construction of UI.
Definition: Icon.php:29