ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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.

References $DIC, and array.

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("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 }
global $DIC
Definition: saml.php:7
Create styles array
The data for the language used.