ILIAS  release_8 Revision v8.24
with_link_title.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
6
11{
12 global $DIC;
13 $f = $DIC->ui()->factory();
14 $renderer = $DIC->ui()->renderer();
15 $app_item = $f->item()->standard($f->link()->standard("ILIAS", "https://www.ilias.de"))
16 ->withProperties(array(
17 "Code Repo" => $f->button()->shy("ILIAS on GitHub", "https://www.github.com/ILIAS-eLearning/ILIAS"),
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.");
20 return $renderer->render($app_item);
21}
global $DIC
Definition: feed.php:28
with_link_title()
With a standard link as title.