ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
with_lead_icon.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
23
use
ILIAS\UI\Component\Symbol\Icon\Standard
;
24
35
function
with_lead_icon
()
36
{
37
global
$DIC
;
38
39
return
$DIC->ui()->renderer()->render(
40
$DIC->ui()->factory()->item()->shy(
'Test shy Item'
)->withLeadIcon(
41
$DIC->ui()->factory()->symbol()->icon()->standard(Standard::GRP,
'conversation'
)
42
)
43
);
44
}
Standard
ILIAS\UI\examples\Item\Shy\with_lead_icon
with_lead_icon()
description: > Example for rendering a shy item with an lead icon.
Definition:
with_lead_icon.php:35
$DIC
global $DIC
Definition:
shib_login.php:26
ILIAS\UI\examples\Item\Shy
Definition:
base.php:21
components
ILIAS
UI
src
examples
Item
Shy
with_lead_icon.php
Generated on Sun Aug 31 2025 23:04:10 for ILIAS by
1.8.13 (using
Doxyfile
)