ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
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
37
43
public
static
function
init
(
ilGlobalTemplateInterface
$a_tpl = null)
44
{
45
global
$DIC
;
46
47
if
($a_tpl == null) {
48
$a_tpl = $DIC[
"tpl"
];
49
}
50
51
foreach
(
ilUIFramework::getJSFiles
() as
$f
) {
52
$a_tpl->addJavaScript($f,
true
, 0);
53
}
54
foreach
(
ilUIFramework::getCssFiles
() as $f) {
55
$a_tpl->addCss($f);
56
}
57
}
58
}
ilUIFramework\getJSFiles
static getJSFiles()
Get javascript files.
Definition:
class.ilUIFramework.php:22
ilGlobalTemplateInterface
Created by PhpStorm.
Definition:
interface.ilGlobalTemplateInterface.php:16
Vendor\Package\$f
$f
Definition:
example_cleaned.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
ilUIFramework\init
static init(ilGlobalTemplateInterface $a_tpl=null)
Init.
Definition:
class.ilUIFramework.php:43
$DIC
$DIC
Definition:
xapitoken.php:46
Services
UICore
classes
class.ilUIFramework.php
Generated on Mon Apr 7 2025 20:01:28 for ILIAS by
1.8.13 (using
Doxyfile
)