ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
with_buttons_and_links.php
Go to the documentation of this file.
1
<?
php
2
function
with_buttons_and_links
()
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
->link()->standard(
"ILIAS"
,
"https://www.ilias.de"
)->withOpenInNewViewport(
true
)
11
);
12
return
$renderer->render(
$f
->dropdown()->standard($items)->withLabel(
"Actions"
));
13
}
php
An exception for terminatinating execution or to throw for unit testing.
$DIC
global $DIC
Definition:
goto.php:24
Vendor\Package\$f
$f
Definition:
example_cleaned.php:31
with_buttons_and_links
with_buttons_and_links()
Definition:
with_buttons_and_links.php:2
src
UI
examples
Dropdown
Standard
with_buttons_and_links.php
Generated on Fri Oct 3 2025 21:01:12 for ILIAS by
1.9.4 (using
Doxyfile
)