| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
This is a utility class for the yui overlays. More...
 Collaboration diagram for ilOverlayGUI:
 Collaboration diagram for ilOverlayGUI:| Public Member Functions | |
| __construct ($a_overlay_el_id) | |
| Constructor. | |
| setAnchor ($a_anchor_el_id, $a_ov_corner="tl", $a_anch_corner="bl") | |
| Set anchor element. | |
| setSize ($a_width="", $a_height="") | |
| Set size. | |
| setFixedCenter ($a_fixed_center=true) | |
| Set fixed center. | |
| setVisible ($a_visible=true) | |
| Set visible. | |
| setTrigger ($a_el_id, $a_event="click", $a_trigger_anchor_el_id=null) | |
| Set trigger element. | |
| setAutoHide ($a_val) | |
| Set auto hiding. | |
| getAutoHide () | |
| Get auto_hide. | |
| setCloseElementId ($a_val) | |
| Set close element id. | |
| getCloseElementId () | |
| Get close element id. | |
| getOnLoadCode () | |
| Makes an existing HTML element an overlay. | |
| add () | |
| Makes an existing HTML element an overlay. | |
| getTriggerOnLoadCode ($a_tr_id, $a_tr_event, $a_anchor_el_id, $a_center=false, $a_ov_corner="tl", $a_anch_corner="bl") | |
| Get trigger onload code. | |
| addTrigger ($a_tr_id, $a_tr_event, $a_anchor_el_id, $a_center=false, $a_ov_corner="tl", $a_anch_corner="bl") | |
| Add trigger. | |
| Static Public Member Functions | |
| static | initJavascript () | 
| Init javascript. | |
| Protected Attributes | |
| $width = "" | |
| $height = "" | |
| $fixed_center = false | |
| $visible = false | |
| $anchor_el_id = "" | |
| $anchor_ov_corner = "" | |
| $anchor_anch_corner = "" | |
| $auto_hide = false | |
| $close_el = null | |
This is a utility class for the yui overlays.
this only works, if a parent has class="yui-skin-sam" attached.
Definition at line 8 of file class.ilOverlayGUI.php.
| ilOverlayGUI::__construct | ( | $a_overlay_el_id | ) | 
Constructor.
| @return | 
Definition at line 26 of file class.ilOverlayGUI.php.
| ilOverlayGUI::add | ( | ) | 
Makes an existing HTML element an overlay.
Definition at line 170 of file class.ilOverlayGUI.php.
References $tpl, getOnLoadCode(), and initJavascript().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilOverlayGUI::addTrigger | ( | $a_tr_id, | |
| $a_tr_event, | |||
| $a_anchor_el_id, | |||
| $a_center = false, | |||
| $a_ov_corner = "tl", | |||
| $a_anch_corner = "bl" | |||
| ) | 
Add trigger.
Definition at line 212 of file class.ilOverlayGUI.php.
References $tpl, getTriggerOnLoadCode(), and initJavascript().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilOverlayGUI::getAutoHide | ( | ) | 
Get auto_hide.
Definition at line 105 of file class.ilOverlayGUI.php.
References $auto_hide.
| ilOverlayGUI::getCloseElementId | ( | ) | 
Get close element id.
Definition at line 125 of file class.ilOverlayGUI.php.
References $close_el.
| ilOverlayGUI::getOnLoadCode | ( | ) | 
Makes an existing HTML element an overlay.
Definition at line 133 of file class.ilOverlayGUI.php.
References $auto_hide, $close_el, $height, $width, and ilJsonUtil\encode().
Referenced by add().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilOverlayGUI::getTriggerOnLoadCode | ( | $a_tr_id, | |
| $a_tr_event, | |||
| $a_anchor_el_id, | |||
| $a_center = false, | |||
| $a_ov_corner = "tl", | |||
| $a_anch_corner = "bl" | |||
| ) | 
Get trigger onload code.
| @return | 
Definition at line 201 of file class.ilOverlayGUI.php.
Referenced by addTrigger().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Init javascript.
| @return | 
Definition at line 185 of file class.ilOverlayGUI.php.
References $tpl, and ilYuiUtil\initOverlay().
Referenced by add(), addTrigger(), ilTestPlayerDynamicQuestionSetGUI\executeCommand(), ilSCORM2004ScoGUI\sco_preview(), ilPageObjectGUI\showPage(), ilSearchGUI\showSearch(), ilLuceneUserSearchGUI\showSearchForm(), and ilLuceneSearchGUI\showSearchForm().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilOverlayGUI::setAnchor | ( | $a_anchor_el_id, | |
| $a_ov_corner = "tl", | |||
| $a_anch_corner = "bl" | |||
| ) | 
Set anchor element.
| string | anchor element id | 
| string | overlay corner ("tl", "tr", "bl", "br") aligned to... | 
| string | anchor corner ("tl", "tr", "bl", "br") | 
Definition at line 38 of file class.ilOverlayGUI.php.
| ilOverlayGUI::setAutoHide | ( | $a_val | ) | 
Set auto hiding.
| boolean | auto hide | 
Definition at line 95 of file class.ilOverlayGUI.php.
| ilOverlayGUI::setCloseElementId | ( | $a_val | ) | 
Set close element id.
| string | close element id | 
Definition at line 115 of file class.ilOverlayGUI.php.
| ilOverlayGUI::setFixedCenter | ( | $a_fixed_center = true | ) | 
Set fixed center.
| boolean | fixed center | 
Definition at line 62 of file class.ilOverlayGUI.php.
| ilOverlayGUI::setSize | ( | $a_width = "", | |
| $a_height = "" | |||
| ) | 
Set size.
| string | width, e.g. 300px | 
| string | height, e.g. 300px | 
Definition at line 51 of file class.ilOverlayGUI.php.
| ilOverlayGUI::setTrigger | ( | $a_el_id, | |
| $a_event = "click", | |||
| $a_trigger_anchor_el_id = null | |||
| ) | 
Set trigger element.
| string | element id | 
| string | event ("click" or "mouseover") | 
Definition at line 83 of file class.ilOverlayGUI.php.
| ilOverlayGUI::setVisible | ( | $a_visible = true | ) | 
Set visible.
| boolean | visible | 
Definition at line 72 of file class.ilOverlayGUI.php.
| 
 | protected | 
Definition at line 16 of file class.ilOverlayGUI.php.
| 
 | protected | 
Definition at line 14 of file class.ilOverlayGUI.php.
| 
 | protected | 
Definition at line 15 of file class.ilOverlayGUI.php.
| 
 | protected | 
Definition at line 17 of file class.ilOverlayGUI.php.
Referenced by getAutoHide(), and getOnLoadCode().
| 
 | protected | 
Definition at line 18 of file class.ilOverlayGUI.php.
Referenced by getCloseElementId(), and getOnLoadCode().
| 
 | protected | 
Definition at line 12 of file class.ilOverlayGUI.php.
| 
 | protected | 
Definition at line 11 of file class.ilOverlayGUI.php.
Referenced by getOnLoadCode().
| 
 | protected | 
Definition at line 13 of file class.ilOverlayGUI.php.
| 
 | protected | 
Definition at line 10 of file class.ilOverlayGUI.php.
Referenced by getOnLoadCode().