ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
Item.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2017 Richard Klees <richard.klees@concepts-and-training.de>, Alex Killing <killing@leifos.de> Extended GPL, see docs/LICENSE */
4
6
11{
17 public function getTitle();
18
22 public function withDescription(string $description) : Item;
23
28 public function getDescription();
29
39 public function withProperties(array $properties);
40
46 public function getProperties();
47
54 public function withActions(\ILIAS\UI\Component\Dropdown\Standard $actions);
55
61 public function getActions();
62}
An exception for terminatinating execution or to throw for unit testing.
A component is the most general form of an entity in the UI.
Definition: Component.php:14
Common interface to all items.
Definition: Item.php:11
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.
getActions()
Get the actions of the item.
withActions(\ILIAS\UI\Component\Dropdown\Standard $actions)
Create a new appointment item with a set of actions to perform on it.
Class ChatMainBarProvider \MainMenu\Provider.
Class Factory.