8 $f = $DIC->ui()->factory();
9 $renderer = $DIC->ui()->renderer();
10 $actions = $f->dropdown()->standard(
array(
11 $f->button()->shy(
"ILIAS",
"https://www.ilias.de"),
12 $f->button()->shy(
"GitHub",
"https://www.github.com")
14 $list_item1 = $f->item()->standard(
"Item Title")
15 ->withProperties(
array(
16 "Origin" =>
"Course Title 1",
17 "Last Update" =>
"24.11.2011",
18 "Location" =>
"Room 123, Main Street 44, 3012 Bern"))
19 ->withDescription(
"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.");
21 $list_item2 = $f->item()->standard(
"Item 2 Title")
22 ->withDescription(
"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.");
24 $list_item3 = $f->item()->standard(
"Item 3 Title")
25 ->withDescription(
"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.");
27 $std_list = $f->panel()->listing()->standard(
"List Title",
array(
28 $f->item()->group(
"Subtitle 1",
array(
32 $f->item()->group(
"Subtitle 2",
array(
35 ))->withActions($actions);
38 return $renderer->render($std_list);
with_list_actions()
With list actions.
Create styles array
The data for the language used.