ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
Card.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2016 Timon Amstutz <timon.amstutz@ilub.unibe.ch> Extended GPL, see docs/LICENSE */
4
6
11
17{
18
24 public function withTitle($title);
25
30 public function getTitle();
31
37 public function withTitleAction($action);
38
43 public function getTitleAction();
44
50 public function withSections(array $sections);
51
56 public function getSections();
57
63 public function withImage(\ILIAS\UI\Component\Image\Image $image);
64
69 public function getImage();
70
76 public function withHighlight($status);
77
82 public function isHighlighted();
83}
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($action)
Get a Card like this with a title action.
getTitle()
Get the title in the heading section of the card.
getImage()
Get the image of the card.
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.
Definition: Component.php:14
Interface to be extended by components that have the possibility to bind to Javascript.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
Class ChatMainBarProvider \MainMenu\Provider.
Class Factory.