ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
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
12
class
ilUIFramework
13
{
14
const
BOWER_BOOTSTRAP_JS
=
"libs/bower/bower_components/bootstrap/dist/js/bootstrap.min.js"
;
15
16
22
public
static
function
getJSFiles
()
23
{
24
return
array(
"./"
. self::BOWER_BOOTSTRAP_JS );
25
}
26
32
public
static
function
getCssFiles
()
33
{
34
return
array(
"./libs/bower/bower_components/Yamm3/yamm/yamm.css"
);
35
}
36
42
public
static
function
init
($a_tpl = null)
43
{
44
global
$DIC
;
45
46
$tpl
= $DIC[
"tpl"
];
47
48
if
($a_tpl == null) {
49
$a_tpl =
$tpl
;
50
}
51
52
foreach
(
ilUIFramework::getJSFiles
() as
$f
) {
53
$a_tpl->addJavaScript($f,
true
, 1);
54
}
55
foreach
(
ilUIFramework::getCssFiles
() as $f) {
56
$a_tpl->addCss($f);
57
}
58
}
59
}
$DIC
global $DIC
Definition:
saml.php:7
$tpl
$tpl
Definition:
ilias.php:10
ilUIFramework\getJSFiles
static getJSFiles()
Get javascript files.
Definition:
class.ilUIFramework.php:22
ilUIFramework\init
static init($a_tpl=null)
Init.
Definition:
class.ilUIFramework.php:42
$f
$f
Definition:
fetch_windows_zones.php:31
ilUIFramework\BOWER_BOOTSTRAP_JS
const BOWER_BOOTSTRAP_JS
Definition:
class.ilUIFramework.php:14
ilUIFramework\getCssFiles
static getCssFiles()
Get javascript files.
Definition:
class.ilUIFramework.php:32
ilUIFramework
UI framework utility class.
Definition:
class.ilUIFramework.php:12
php
Services
UICore
classes
class.ilUIFramework.php
Generated on Thu Jan 16 2025 19:02:33 for ILIAS by
1.8.13 (using
Doxyfile
)