ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
with_card.php
Go to the documentation of this file.
1 <?php
2 
3 function with_card() {
4  global $DIC;
5  $f = $DIC->ui()->factory();
6  $renderer = $DIC->ui()->renderer();
7 
8  $block = $f->panel()->standard("Panel Title",
9  $f->panel()->sub("Sub Panel Title",$f->legacy("Some Content"))
10  ->withCard($f->card("Card Heading")->withSections(array($f->legacy("Card Content"))))
11  );
12 
13  return $renderer->render($block);
14 }
with_card()
Definition: with_card.php:3
Create styles array
The data for the language used.
global $DIC