ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ten_items.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2017 Alex Killing <killing@leifos.de> Extended GPL, see docs/LICENSE */
4 
5 function ten_items()
6 {
7  //Init Factory and Renderer
8  global $DIC;
9  $f = $DIC->ui()->factory();
10  $renderer = $DIC->ui()->renderer();
11 
12  $c = $f->chart()->scaleBar(
13  array(
14  "0" => false,
15  "1" => false,
16  "2" => false,
17  "3" => false,
18  "4" => false,
19  "5" => false,
20  "6" => true,
21  "7" => false,
22  "8" => false,
23  "9" => false
24  )
25  );
26 
27  //Render
28  return $renderer->render($c);
29 }
global $DIC
Definition: saml.php:7
ten_items()
Definition: ten_items.php:5