ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
with_close.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\examples\Item\Shy
;
22
33
function
with_close
()
34
{
35
global
$DIC
;
36
37
return
$DIC->ui()->renderer()->render(
38
$DIC->ui()->factory()->item()->shy(
'Test shy Item'
)->withClose(
39
$DIC->ui()->factory()->button()->close()
40
)
41
);
42
}
$DIC
global $DIC
Definition:
shib_login.php:26
ILIAS\UI\examples\Item\Shy
Definition:
base.php:21
ILIAS\UI\examples\Item\Shy\with_close
with_close()
description: > Example for rendering a shy item with a close function.
Definition:
with_close.php:33
components
ILIAS
UI
src
examples
Item
Shy
with_close.php
Generated on Sun Aug 31 2025 23:04:10 for ILIAS by
1.8.13 (using
Doxyfile
)