ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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
5function 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}
An exception for terminatinating execution or to throw for unit testing.
ten_items()
Definition: ten_items.php:5
$DIC
Definition: xapitoken.php:46