ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
unavailable_action.php
Go to the documentation of this file.
1
<?
php
7
function
unavailable_action
()
8
{
9
global
$DIC
;
10
$f
=
$DIC
->ui()->factory();
11
$renderer =
$DIC
->ui()->renderer();
12
13
$glyph =
$f
->symbol()->glyph()->attachment();
14
$button =
$f
->button()->bulky($glyph,
'Unavailable'
,
'#'
)->withUnavailableAction();
15
16
return
$renderer->render([$button]);
17
}
unavailable_action
unavailable_action()
This example provides the given button with an unavailable action.
Definition:
unavailable_action.php:7
php
An exception for terminatinating execution or to throw for unit testing.
Vendor\Package\$f
$f
Definition:
example_cleaned.php:31
$DIC
$DIC
Definition:
xapitoken.php:46
src
UI
examples
Button
Bulky
unavailable_action.php
Generated on Fri Oct 3 2025 20:01:16 for ILIAS by
1.9.4 (using
Doxyfile
)