ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ 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
21
function
unavailable_action
()
22
{
23
global
$DIC
;
24
$f
= $DIC->ui()->factory();
25
$renderer
= $DIC->ui()->renderer();
26
27
$glyph =
$f
->symbol()->glyph()->attachment();
28
$button =
$f
->button()->bulky($glyph,
'Unavailable'
,
'#'
)->withUnavailableAction();
29
30
return
$renderer
->render([$button]);
31
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:25
ILIAS\UI\examples\Button\Bulky\unavailable_action
unavailable_action()
description: > This example provides the given button with an unavailable action.
Definition:
unavailable_action.php:21
ILIAS\UI\examples\Button\Bulky
Definition:
base.php:5
components
ILIAS
UI
src
examples
Button
Bulky
unavailable_action.php
Generated on Wed Sep 10 2025 15:16:44 for ILIAS by
1.8.13 (using
Doxyfile
)