ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilUIFramework.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2014 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
13 {
19  static function getJSFiles()
20  {
21  return array("./Services/UICore/lib/bootstrap-3.2.0/dist/js/bootstrap.min.js");
22  }
23 
29  static function getCssFiles()
30  {
31  return array("./Services/UICore/lib/yamm3/yamm/yamm.css");
32  }
33 
39  static function init($a_tpl = null)
40  {
41  global $tpl;
42 
43  if ($a_tpl == null)
44  {
45  $a_tpl = $tpl;
46  }
47 
48  foreach (ilUIFramework::getJSFiles() as $f)
49  {
50  $a_tpl->addJavaScript($f, true, 1);
51  }
52  foreach (ilUIFramework::getCssFiles() as $f)
53  {
54  $a_tpl->addCss($f);
55  }
56  }
57 
58 }
59 
60 ?>
static getJSFiles()
Get javascript files.
static init($a_tpl=null)
Init.
global $tpl
Definition: ilias.php:8
Create styles array
The data for the language used.
static getCssFiles()
Get javascript files.
UI framework utility class.