ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
with_aria_label.php
Go to the documentation of this file.
1
<?
php
2
function
with_aria_label
()
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
->button()->shy(
"Bugs"
,
"https://mantis.ilias.de"
),
11
);
12
return
$renderer->render(
$f
->dropdown()->standard($items)->withAriaLabel(
"MyLabel"
));
13
}
$DIC
global $DIC
Definition:
saml.php:7
with_aria_label
with_aria_label()
Definition:
with_aria_label.php:2
$f
$f
Definition:
fetch_windows_zones.php:31
php
src
UI
examples
Dropdown
Standard
with_aria_label.php
Generated on Thu Feb 27 2025 19:02:11 for ILIAS by
1.8.13 (using
Doxyfile
)