ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
with_divider.php File Reference

Go to the source code of this file.

Functions

 with_divider ()
 

Function Documentation

◆ with_divider()

with_divider ( )

Definition at line 2 of file with_divider.php.

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

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