19 declare(strict_types=1);
38 $f = $DIC->ui()->factory();
43 $close_url =
$_SERVER[
'REQUEST_URI'] .
'&aggregate_closed=true';
55 $generic_icon1 =
$f->symbol()->icon()->standard(
"cal",
"generic");
56 $generic_title1 =
$f->link()->standard(
"Aggregate of Item",
"#");
57 $generic_item1 =
$f->item()->notification($generic_title1, $generic_icon1)
58 ->withDescription(
"Is shown when top item is clicked")
59 ->withProperties([
"Property 1" =>
"Content 1",
"Property 2" =>
"Content 2"])
61 $f->dropdown()->standard([
62 $f->button()->shy(
"Link to ilias.de",
"https://www.ilias.de"),
63 $f->button()->shy(
"Link to github",
"https://www.github.com")
66 ->withCloseAction($close_url);
68 $generic_title2 =
$f->link()->standard(
"Item",
"just_opens_the_list_of_aggregates");
69 $generic_item2 =
$f->item()->notification($generic_title2, $generic_icon1)
70 ->withDescription(
"Notification Item with Aggregates")
71 ->withProperties([
"Property 1" =>
"Content 1",
"Property 2" =>
"Content 2"])
72 ->withAggregateNotifications([$generic_item1, $generic_item1]);
include_aggregates()
description: > Example for rendering a notificication item including aggregates. ...
exit
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...