ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
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 }
getSections()
Get the multiple sections of the card as array.
Class Factory.
Class ChatMainBarProvider .
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
getTitle()
Get the title in the heading section of the card.
getTitleAction()
Returns the title action if given, otherwise null.
withImage(\ILIAS\UI\Component\Image\Image $image)
Set the image of the card.
withTitleAction($action)
Get a Card like this with a title action.
getImage()
Get the image of the card.
isHighlighted()
Returns whether or not the Card is highlighted.
withSections(array $sections)
Set multiple sections of the card as array.
withTitle($title)
Sets the title in the heading section of the card.
withHighlight($status)
Get a Card like this with a highlight.