ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
with_divider.php
Go to the documentation of this file.
1
<?
php
2
function
with_divider
()
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
}
php
An exception for terminatinating execution or to throw for unit testing.
$DIC
global $DIC
Definition:
saml.php:7
with_divider
with_divider()
Definition:
with_divider.php:2
src
UI
examples
Dropdown
Standard
with_divider.php
Generated on Tue Sep 30 2025 19:01:23 for ILIAS by
1.9.4 (using
Doxyfile
)