ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
base.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\examples\Item\Notification
;
22
33
function
base
()
34
{
35
global
$DIC
;
36
$f
=
$DIC
->ui()->factory();
37
$renderer
=
$DIC
->ui()->renderer();
38
39
//Creating a Mail Notification Item
40
$mail_icon =
$f
->symbol()->icon()->standard(
"mail"
,
"mail"
);
41
$mail_title =
$f
->link()->standard(
"Inbox"
,
"#"
);
42
$mail_notification_item =
$f
->item()->notification($mail_title, $mail_icon)
43
->withDescription(
"You have 23 unread mails in your inbox"
)
44
->withProperties([
"Time"
=>
"3 days ago"
]);
45
46
47
return
$renderer
->render($mail_notification_item);
48
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Item\Notification
Definition:
base.php:21
ILIAS\UI\examples\Item\Notification\base
base()
Definition:
base.php:33
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
UI
src
examples
Item
Notification
base.php
Generated on Sat Oct 18 2025 23:04:39 for ILIAS by
1.9.4 (using
Doxyfile
)