ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
base.php
Go to the documentation of this file.
1<?php
5function base() {
6 //Loading factories
7 global $DIC;
8 $f = $DIC->ui()->factory();
9 $renderer = $DIC->ui()->renderer();
10
11 //Genarating and rendering the image
12 $image = $f->image()->responsive(
13 "src/UI/examples/Image/HeaderIconLarge.svg",
14 "Thumbnail Example");
15 $html = $renderer->render($image);
16
17 return $html;
18}
base()
Definition: base.php:2
An exception for terminatinating execution or to throw for unit testing.
$html
Definition: example_001.php:87
global $DIC