ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
iljQueryUtil Class Reference

jQuery utilities More...

+ Collaboration diagram for iljQueryUtil:

Public Member Functions

 getLocaljQueryPath ()
 Get local path of jQuery file.
 getLocaljQueryUIPath ()
 Get local path of jQuery UI file.
 getLocalMaphilightPath ()
 Get local path of maphilight file.

Static Public Member Functions

static initjQuery ($a_tpl=null)
 Init jQuery.
static initjQueryUI ()
 Init jQuery UI (see included_components.txt for included components)
static initMaphilight ()
 Init maphilight.

Static Private Attributes

static $ver = "1_8_3"
static $ui_ver = "1_9_1"
static $maphilight_ver = "12_09_22"
static $min = "-min"

Detailed Description

jQuery utilities

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 10 of file class.iljQueryUtil.php.

Member Function Documentation

iljQueryUtil::getLocaljQueryPath ( )

Get local path of jQuery file.

Definition at line 46 of file class.iljQueryUtil.php.

Referenced by ilCOPageHTMLExport\exportSupportScripts(), and ilObjContentObject\getSupplyingExportFiles().

{
return "./Services/jQuery/js/".self::$ver."/jquery".self::$min.".js";
}

+ Here is the caller graph for this function:

iljQueryUtil::getLocaljQueryUIPath ( )

Get local path of jQuery UI file.

Definition at line 54 of file class.iljQueryUtil.php.

Referenced by ilCOPageHTMLExport\exportSupportScripts(), and ilObjContentObject\getSupplyingExportFiles().

{
return "./Services/jQuery/js/ui_".self::$ui_ver."/jquery-ui.min.js";
}

+ Here is the caller graph for this function:

iljQueryUtil::getLocalMaphilightPath ( )

Get local path of maphilight file.

Definition at line 76 of file class.iljQueryUtil.php.

Referenced by ilCOPageHTMLExport\exportSupportScripts(), ilObjContentObject\getSupplyingExportFiles(), and ilObjMediaObjectGUI\includePresentationJS().

{
return "./Services/jQuery/js/maphilight_".self::$maphilight_ver."/maphilight.js";
}

+ Here is the caller graph for this function:

static iljQueryUtil::initjQueryUI ( )
static

Init jQuery UI (see included_components.txt for included components)

Definition at line 36 of file class.iljQueryUtil.php.

References $tpl.

Referenced by ilMainMenuSearchGUI\getHTML(), ilPCIIMTriggerEditorGUI\getImageMapTableHTML(), ilPageObjectGUI\initSelfAssessmentRendering(), ilTextInputGUI\render(), and ilSCORM2004ScoGUI\sco_preview().

{
global $tpl;
$tpl->addJavaScript(self::getLocaljQueryUIPath(), true, 1);
}

+ Here is the caller graph for this function:

static iljQueryUtil::initMaphilight ( )
static

Init maphilight.

Definition at line 66 of file class.iljQueryUtil.php.

References $tpl.

{
global $tpl;
$tpl->addJavaScript(self::getLocalMaphilightPath(), true, 1);
}

Field Documentation

iljQueryUtil::$maphilight_ver = "12_09_22"
staticprivate

Definition at line 15 of file class.iljQueryUtil.php.

iljQueryUtil::$min = "-min"
staticprivate

Definition at line 16 of file class.iljQueryUtil.php.

iljQueryUtil::$ui_ver = "1_9_1"
staticprivate

Definition at line 14 of file class.iljQueryUtil.php.

iljQueryUtil::$ver = "1_8_3"
staticprivate

Definition at line 13 of file class.iljQueryUtil.php.


The documentation for this class was generated from the following file: