ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\UI\examples\Panel\Sub Namespace Reference

Functions

 base ()
 

description: > Example for rendering a sub panel. More...

 

Function Documentation

◆ base()

ILIAS\UI\examples\Panel\Sub\base ( )


description: > Example for rendering a sub panel.

expected output: >

ILIAS shows a standard panel including a sub panel.

Definition at line 32 of file base.php.

References $DIC, Vendor\Package\$f, and $renderer.

33 {
34  global $DIC;
35  $f = $DIC->ui()->factory();
36  $renderer = $DIC->ui()->renderer();
37 
38  $block = $f->panel()->standard(
39  "Panel Title",
40  $f->panel()->sub("Sub Panel Title", $f->legacy()->content("Some Content"))
41  );
42 
43  return $renderer->render($block);
44 }
$renderer
global $DIC
Definition: shib_login.php:22