ILIAS  release_8 Revision v8.24
Item.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
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
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...