ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 
12 
18  public function withTitle($title);
19 
24  public function getTitle();
25 
31  public function withSections(array $sections);
32 
37  public function getSections();
38 
44  public function withImage(\ILIAS\UI\Component\Image\Image $image);
45 
50  public function getImage();
51 }
getSections()
Get the multiple sections of the card as array.
Interface Card .
getTitle()
Gets the title in the heading section of the card.
A component is the most general form of an entity in the UI.
Definition: Component.php:13
withImage(\ILIAS\UI\Component\Image\Image $image)
Set the image of the card.
getImage()
Get the image of the card.
withSections(array $sections)
Set multiple sections of the card as array.
Create styles array
The data for the language used.
withTitle($title)
Sets the title in the heading section of the card.