ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ 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
$button =
$f
->button()->shy(
'Unavailable'
,
'#'
)->withUnavailableAction();
14
15
return
$renderer->render([$button]);
16
}
unavailable_action
unavailable_action()
This example provides the given button with an unavailable action.
Definition:
unavailable_action.php:7
Vendor\Package\$f
$f
Definition:
example_cleaned.php:31
$DIC
global $DIC
Definition:
goto.php:24
src
UI
examples
Button
Shy
unavailable_action.php
Generated on Wed Sep 3 2025 21:01:46 for ILIAS by
1.8.13 (using
Doxyfile
)