ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
with_lead_icon.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Item\Shy
;
6
7
use
ILIAS\UI\Component\Symbol\Icon\Standard
;
8
19
function
with_lead_icon
()
20
{
21
global
$DIC
;
22
23
return
$DIC->ui()->renderer()->render(
24
$DIC->ui()->factory()->item()->shy(
'Test shy Item'
)->withLeadIcon(
25
$DIC->ui()->factory()->symbol()->icon()->standard(Standard::GRP,
'conversation'
)
26
)
27
);
28
}
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:19
$DIC
global $DIC
Definition:
shib_login.php:25
ILIAS\UI\examples\Item\Shy
Definition:
base.php:5
components
ILIAS
UI
src
examples
Item
Shy
with_lead_icon.php
Generated on Wed Sep 10 2025 15:16:45 for ILIAS by
1.8.13 (using
Doxyfile
)