ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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
24 public function withDescription($description);
25
30 public function getDescription();
31
41 public function withProperties(array $properties);
42
48 public function getProperties();
49
56 public function withActions(\ILIAS\UI\Component\Dropdown\Standard $actions);
57
63 public function getActions();
64
71 public function withColor(\ILIAS\Data\Color $a_color);
72
76 public function getColor();
77
84 public function withLeadImage(\ILIAS\UI\Component\Image\Image $image);
85
92 public function withLeadIcon(\ILIAS\UI\Component\Icon\Icon $icon);
93
100 public function withLeadText($text);
101
106 public function withNoLead();
107
111 public function getLead();
112}
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($description)
Create a new item with an attached description.
withLeadText($text)
Set image as lead.
withNoLead()
Reset lead to null.
withProperties(array $properties)
Get a new item with the given properties as key-value pairs.
getProperties()
Get the properties of the appointment.
withLeadIcon(\ILIAS\UI\Component\Icon\Icon $icon)
Set icon as lead.
getDescription()
Get the description of the item.
getTitle()
Gets the title of the item.
withLeadImage(\ILIAS\UI\Component\Image\Image $image)
Set image as lead.
getActions()
Get the actions of the item.
withColor(\ILIAS\Data\Color $a_color)
Set a color.
withActions(\ILIAS\UI\Component\Dropdown\Standard $actions)
Create a new appointment item with a set of actions to perform on it.
Class BaseForm.
Class Factory.
$text
Definition: errorreport.php:18