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

Go to the source code of this file.

Functions

 with_card ()
 

Function Documentation

◆ with_card()

with_card ( )

Definition at line 3 of file with_card.php.

3 {
4 global $DIC;
5 $f = $DIC->ui()->factory();
6 $renderer = $DIC->ui()->renderer();
7
8 $block = $f->panel()->standard("Panel Title",
9 $f->panel()->sub("Sub Panel Title",$f->legacy("Some Content"))
10 ->withCard($f->card("Card Heading")->withSections(array($f->legacy("Card Content"))))
11 );
12
13 return $renderer->render($block);
14}
global $DIC

References $DIC.