ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
base.php File Reference

Go to the source code of this file.

Functions

 base ()
 

Function Documentation

◆ base()

base ( )

Definition at line 3 of file base.php.

3 {
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}
global $DIC

References $DIC.