ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
This is a utility class for the yui tooltips. More...
Static Public Member Functions | |
static | addTooltip ( $a_el_id, $a_text, $a_container="", $a_my="bottom center", $a_at="top center", $a_use_htmlspecialchars=true) |
Adds a tooltip to an HTML element. More... | |
static | getToolTip ( $a_el_id, $a_text, $a_container="", $a_my="bottom center", $a_at="top center", $a_use_htmlspecialchars=true) |
Get tooltip js code. More... | |
static | init () |
Initializes the needed tooltip libraries. More... | |
Static Protected Attributes | |
static | $initialized = false |
static | $library_initialized = false |
This is a utility class for the yui tooltips.
this only works, if a parent has class="yui-skin-sam" attached.
Definition at line 8 of file class.ilTooltipGUI.php.
|
static |
Adds a tooltip to an HTML element.
string | $a_el_id | element id |
string | $a_el_id | tooltip text |
string | $a_el_id | element id of container the tooltip should be added to |
Definition at line 20 of file class.ilTooltipGUI.php.
References $code, $GLOBALS, $tpl, and init().
Referenced by ilTabsGUI\__getHTML(), ilMainMenuGUI\addToolbarTooltip(), ilTable2GUI\fillHeader(), ilObjectListGUI\getHeaderAction(), ilGroupedListGUI\getHTML(), ilRatingGUI\getHTML(), ilAdvancedSelectionListGUI\getHTML(), ilPageObjectGUI\getTinyMenu(), ilBadgeManagementGUI\listBadges(), ilMainMenuGUI\renderHelpButtons(), ilContainerObjectiveGUI\renderProgressBar(), and ilContainerObjectiveGUI\renderProgressMeter().
|
static |
Get tooltip js code.
string | $a_el_id | element id |
string | $a_el_id | tooltip text |
string | $a_el_id | element id of container the tooltip should be added to |
Definition at line 53 of file class.ilTooltipGUI.php.
|
static |
Initializes the needed tooltip libraries.
Definition at line 85 of file class.ilTooltipGUI.php.
References $GLOBALS, and $tpl.
Referenced by ilPreviewGUI\initPreview().
|
staticprotected |
Definition at line 10 of file class.ilTooltipGUI.php.
|
staticprotected |
Definition at line 11 of file class.ilTooltipGUI.php.