ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
with_link_title.php
Go to the documentation of this file.
1<?php
6{
7 global $DIC;
8 $f = $DIC->ui()->factory();
9 $renderer = $DIC->ui()->renderer();
10 $app_item = $f->item()->standard($f->link()->standard("ILIAS", "https://www.ilias.de"))
11 ->withProperties(array(
12 "Code Repo" => $f->button()->shy("ILIAS on GitHub", "https://www.github.com/ILIAS-eLearning/ILIAS"),
13 "Location" => "Room 123, Main Street 44, 3012 Bern"))
14 ->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.");
15 return $renderer->render($app_item);
16}
An exception for terminatinating execution or to throw for unit testing.
$DIC
Definition: xapitoken.php:46