29 private static $min =
".min";
42 if ($a_tpl ===
null) {
46 $a_tpl->addJavaScript(self::getLocaljQueryPath(),
true, 0);
47 $a_tpl->addJavaScript(
'assets/js/jquery-migrate.min.js',
true, 0);
59 if ($a_tpl ===
null) {
64 $a_tpl->addJavaScript(self::getLocaljQueryUIPath(),
true, 0);
73 return "assets/js/jquery" . self::$min .
".js";
82 return "./assets/js/jquery-ui" . self::$min .
".js";
98 $tpl->addJavaScript(self::getLocalMaphilightPath(),
true, 1);
107 return "./assets/js/jquery.maphilight.min.js";
static initjQueryUI(?ilGlobalTemplateInterface $a_tpl=null)
inits and adds the jQuery-UI JS-File to the global template (see included_components.txt for included components)
static getLocaljQueryUIPath()
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static initMaphilight()
Inits and add maphilight to the general template.
static initjQuery(?ilGlobalTemplateInterface $a_tpl=null)
inits and adds the jQuery JS-File to the global or a passed template
static getLocalMaphilightPath()
Get local path of maphilight file.
static getLocaljQueryPath()