ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ 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
function
getJSFiles
()
20
{
21
return
array(
"./Services/UICore/lib/bootstrap-3.2.0/dist/js/bootstrap.min.js"
);
22
}
23
29
function
getCssFiles
()
30
{
31
return
array(
"./Services/UICore/lib/yamm3/yamm/yamm.css"
);
32
}
33
39
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\getCssFiles
getCssFiles()
Get javascript files.
Definition:
class.ilUIFramework.php:29
ilUIFramework\getJSFiles
getJSFiles()
Get javascript files.
Definition:
class.ilUIFramework.php:19
$tpl
global $tpl
Definition:
ilias.php:8
ilUIFramework
UI framework utility class.
Definition:
class.ilUIFramework.php:12
ilUIFramework\init
init($a_tpl=null)
Init.
Definition:
class.ilUIFramework.php:39
Services
UICore
classes
class.ilUIFramework.php
Generated on Mon Aug 25 2025 19:00:51 for ILIAS by
1.8.13 (using
Doxyfile
)