Go to the source code of this file.
◆ with_actions()
Definition at line 3 of file with_actions.php.
References $DIC, and $f.
6 $f = $DIC->ui()->factory();
7 $renderer = $DIC->ui()->renderer();
9 $actions =
$f->dropdown()->standard(array(
10 $f->button()->shy(
"ILIAS",
"https://www.ilias.de"),
11 $f->button()->shy(
"GitHub",
"https://www.github.com")
14 $block =
$f->panel()->standard(
16 $f->panel()->sub(
"Sub Panel Title",
$f->legacy(
"Some Content"))->withActions($actions)
19 return $renderer->render($block);