ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
◀ ilDoc Overview
class.iljQueryUtil.php
Go to the documentation of this file.
1
<?php
2
24
class
iljQueryUtil
25
{
29
private
static
$min
=
".min"
;
30
31
37
public
static
function
initjQuery
(?
ilGlobalTemplateInterface
$a_tpl =
null
): void
38
{
39
global
$DIC
;
40
41
self::$min =
""
;
42
if
($a_tpl ===
null
) {
43
$a_tpl =
$DIC
[
"tpl"
];
44
}
45
46
$a_tpl->addJavaScript(self::getLocaljQueryPath(),
true
, 0);
47
}
48
52
public
static
function
getLocaljQueryPath
(): string
53
{
54
return
"assets/js/jquery"
. self::$min .
".js"
;
55
}
56
}
iljQueryUtil
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.iljQueryUtil.php:25
iljQueryUtil\$min
static $min
Definition:
class.iljQueryUtil.php:29
iljQueryUtil\getLocaljQueryPath
static getLocaljQueryPath()
Definition:
class.iljQueryUtil.php:52
iljQueryUtil\initjQuery
static initjQuery(?ilGlobalTemplateInterface $a_tpl=null)
inits and adds the jQuery JS-File to the global or a passed template
Definition:
class.iljQueryUtil.php:37
ilGlobalTemplateInterface
Definition:
interface.ilGlobalTemplateInterface.php:27
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
jQuery
classes
class.iljQueryUtil.php
Generated on Sat Dec 13 2025 23:02:30 for ILIAS by
1.9.4 (using
Doxyfile
)