An exception for terminatinating execution or to throw for unit testing.
getSections()
Get the multiple sections of the card as array.
withHighlight($status)
Get a Card like this with a highlight.
getTitleAction()
Returns the title action if given, otherwise null.
isHighlighted()
Returns whether or not the Card is highlighted.
withTitleAction($url)
Get a Card like this with a title action.
withImageAction($url)
Get a Card like this with an image action.
getTitle()
Get the title in the heading section of the card.
getImage()
Get the image of the card.
getImageAction()
Returns the image action if given, otherwise null.
withSections(array $sections)
Set multiple sections of the card as array.
withTitle($title)
Sets the title in the heading section of the card.
withImage(\ILIAS\UI\Component\Image\Image $image)
Set the image of the card.
A component is the most general form of an entity in the UI.