ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
base.php
Go to the documentation of this file.
1 <?php
2 
3 function base()
4 {
5  global $DIC;
6  $f = $DIC->ui()->factory();
7  $renderer = $DIC->ui()->renderer();
8 
9  $sub1 = $f->panel()->sub("Sub Panel Title 1", $f->legacy("Some Content"))
10  ->withCard($f->card()->standard("Card Heading")->withSections(array($f->legacy("Card Content"))));
11  $sub2 = $f->panel()->sub("Sub Panel Title 2", $f->legacy("Some Content"));
12 
13  $block = $f->panel()->report("Report Title", array($sub1,$sub2));
14 
15  return $renderer->render($block);
16 }
base()
Definition: base.php:4
$DIC
Definition: xapitoken.php:46