ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
with_link_title.php
Go to the documentation of this file.
1 <?php
5 function with_link_title()
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 }
$DIC
Definition: xapitoken.php:46