ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
with_divider_with_label.php File Reference

Go to the source code of this file.

Functions

 with_divider_with_label ()
 

Function Documentation

◆ with_divider_with_label()

with_divider_with_label ( )

Definition at line 2 of file with_divider_with_label.php.

3{
4 global $DIC;
5 $f = $DIC->ui()->factory();
6 $renderer = $DIC->ui()->renderer();
7
8 $items = array(
9 $f->button()->shy("GitHub", "https://www.github.com"),
10 $f->divider()->horizontal()->withLabel("ILIAS"),
11 $f->button()->shy("Docu", "https://www.ilias.de"),
12 $f->button()->shy("Features", "https://feature.ilias.de"),
13 $f->button()->shy("Bugs", "https://mantis.ilias.de"),
14 );
15 return $renderer->render($f->dropdown()->standard($items)->withLabel("Actions"));
16}
$DIC
Definition: xapitoken.php:46

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