An exception for terminatinating execution or to throw for unit testing.
A component is the most general form of an entity in the UI.
Common interface to all items.
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.