ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ 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
{
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
?>
ilUIFramework\getJSFiles
static getJSFiles()
Get javascript files.
Definition:
class.ilUIFramework.php:19
ilUIFramework\init
static init($a_tpl=null)
Init.
Definition:
class.ilUIFramework.php:39
$tpl
global $tpl
Definition:
ilias.php:8
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
ilUIFramework\getCssFiles
static getCssFiles()
Get javascript files.
Definition:
class.ilUIFramework.php:29
ilUIFramework
UI framework utility class.
Definition:
class.ilUIFramework.php:12
php
Services
UICore
classes
class.ilUIFramework.php
Generated on Fri Jan 24 2025 19:01:16 for ILIAS by
1.8.13 (using
Doxyfile
)