ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
base.php
Go to the documentation of this file.
1<?php
2
3function base() {
4 global $DIC;
5 $f = $DIC->ui()->factory();
6 $renderer = $DIC->ui()->renderer();
7
8 $sub1 = $f->panel()->sub("Sub Panel Title 1",$f->legacy("Some Content"))
9 ->withCard($f->card("Card Heading")->withSections(array($f->legacy("Card Content"))));
10 $sub2 = $f->panel()->sub("Sub Panel Title 2",$f->legacy("Some Content"));
11
12 $block = $f->panel()->report("Report Title", array($sub1,$sub2));
13
14 return $renderer->render($block);
15}
base()
Definition: base.php:2
An exception for terminatinating execution or to throw for unit testing.
global $DIC