ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
Item.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\UI\Component\Item;
22 
27 
31 interface 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 }
getTitle()
Gets the title of the item.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
withDescription(string $description)
Create a new item with an attached description.
Common interface to all items.
Definition: Item.php:31
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21
getDescription()
Get the description of the item.
getProperties()
Get the properties of the appointment.
withProperties(array $properties)
Get a new item with the given properties as key-value pairs.