ILIAS
release_8 Revision v8.24
◀ ilDoc Overview
unavailable_action.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Button\Bulky
;
6
12
function
unavailable_action
()
13
{
14
global
$DIC
;
15
$f
=
$DIC
->ui()->factory();
16
$renderer =
$DIC
->ui()->renderer();
17
18
$glyph =
$f
->symbol()->glyph()->attachment();
19
$button =
$f
->button()->bulky($glyph,
'Unavailable'
,
'#'
)->withUnavailableAction();
20
21
return
$renderer->render([$button]);
22
}
$DIC
global $DIC
Definition:
feed.php:28
ILIAS\UI\examples\Button\Bulky
Definition:
base.php:5
ILIAS\UI\examples\Button\Bulky\unavailable_action
unavailable_action()
This example provides the given button with an unavailable action.
Definition:
unavailable_action.php:12
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
src
UI
examples
Button
Bulky
unavailable_action.php
Generated on Sun Nov 2 2025 22:02:02 for ILIAS by
1.9.4 (using
Doxyfile
)