ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 withLeadText($text);
93 
98  public function withNoLead();
99 
103  public function getLead();
104 }
getActions()
Get the actions of the item.
getTitle()
Gets the title of the item.
withLeadImage(\ILIAS\UI\Component\Image\Image $image)
Set image as lead.
withActions(\ILIAS\UI\Component\Dropdown\Standard $actions)
Create a new appointment item with a set of actions to perform on it.
Class Factory.
withLeadText($text)
Set image as lead.
withColor(\ILIAS\Data\Color $a_color)
Set a color.
Class BaseForm.
A component is the most general form of an entity in the UI.
Definition: Component.php:13
withDescription($description)
Create a new item with an attached description.
Common interface to all items.
Definition: Item.php:10
$text
Definition: errorreport.php:18
getDescription()
Get the description of the item.
Create styles array
The data for the language used.
getProperties()
Get the properties of the appointment.
withProperties(array $properties)
Get a new item with the given properties as key-value pairs.
withNoLead()
Reset lead to null.