Go to the source code of this file.
◆ base()
Definition at line 3 of file base.php.
4{
7 $renderer =
$DIC->ui()->renderer();
8
9 $actions =
$factory->dropdown()->standard(array(
10 $factory->button()->shy(
"ILIAS",
"https://www.ilias.de"),
11 $factory->button()->shy(
"GitHub",
"https://www.github.com")
12 ));
13
14 $legacy =
$factory->legacy(
"Legacy content");
15
16 $panel =
$factory->panel()->secondary()->legacy(
17 "Legacy panel title",
18 $legacy
19 )->withActions($actions);
20
21 return $renderer->render($panel);
22}
References $DIC, and $factory.