ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
decorative.php
Go to the documentation of this file.
1 <?php
5 function decorative() {
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()->standard(
13  "src/UI/examples/Image/HeaderIconLarge.svg",
14  "");
15  $html = $renderer->render($image);
16 
17  return $html;
18 }
decorative()
Base Example for rendering an Image with only decorative purpose (see accessibility rules in images) ...
Definition: decorative.php:5
global $DIC
$html
Definition: example_001.php:87