ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (string $a_overlay_el_id) | |
setAnchor (string $a_anchor_el_id, string $a_ov_corner="tl", string $a_anch_corner="bl") | |
setSize (string $a_width="", string $a_height="") | |
setFixedCenter (bool $a_fixed_center=true) | |
setVisible (bool $a_visible=true) | |
setTrigger (string $a_el_id, string $a_event="click", ?string $a_trigger_anchor_el_id=null) | |
setAutoHide (bool $a_val) | |
getAutoHide () | |
setCloseElementId (string $a_val) | |
getCloseElementId () | |
getOnLoadCode () | |
add () | |
getTriggerOnLoadCode (string $a_tr_id, string $a_tr_event, string $a_anchor_el_id, bool $a_center=false, string $a_ov_corner="tl", string $a_anch_corner="bl") | |
addTrigger (string $a_tr_id, string $a_tr_event, string $a_anchor_el_id, bool $a_center=false, string $a_ov_corner="tl", string $a_anch_corner="bl") | |
Protected Attributes | |
ilGlobalTemplateInterface | $tpl |
string | $width = "" |
string | $height = "" |
bool | $fixed_center = false |
bool | $visible = false |
string | $anchor_el_id = "" |
string | $anchor_ov_corner = "" |
string | $anchor_anch_corner = "" |
bool | $auto_hide = false |
string | $close_el = null |
string | $trigger_el_id = '' |
string | $trigger_event = '' |
string | $trigger_anchor_el_id = null |
string | $overlay_el_id = '' |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning This is a utility class for the yui overlays. this only works, if a parent has class="yui-skin-sam" attached.
Definition at line 23 of file class.ilOverlayGUI.php.
ilOverlayGUI::__construct | ( | string | $a_overlay_el_id | ) |
ilOverlayGUI::add | ( | ) |
Definition at line 143 of file class.ilOverlayGUI.php.
References $DIC, $tpl, ilGlobalTemplateInterface\addJavaScript(), ilGlobalTemplateInterface\addOnLoadCode(), getOnLoadCode(), and ilYuiUtil\initOverlay().
ilOverlayGUI::addTrigger | ( | string | $a_tr_id, |
string | $a_tr_event, | ||
string | $a_anchor_el_id, | ||
bool | $a_center = false , |
||
string | $a_ov_corner = "tl" , |
||
string | $a_anch_corner = "bl" |
||
) |
Definition at line 174 of file class.ilOverlayGUI.php.
References $tpl, ilGlobalTemplateInterface\addOnLoadCode(), and getTriggerOnLoadCode().
ilOverlayGUI::getAutoHide | ( | ) |
ilOverlayGUI::getCloseElementId | ( | ) |
ilOverlayGUI::getOnLoadCode | ( | ) |
Definition at line 113 of file class.ilOverlayGUI.php.
References $auto_hide, $close_el, $fixed_center, $height, $trigger_anchor_el_id, $trigger_el_id, $trigger_event, $visible, and $width.
Referenced by add().
ilOverlayGUI::getTriggerOnLoadCode | ( | string | $a_tr_id, |
string | $a_tr_event, | ||
string | $a_anchor_el_id, | ||
bool | $a_center = false , |
||
string | $a_ov_corner = "tl" , |
||
string | $a_anch_corner = "bl" |
||
) |
Definition at line 161 of file class.ilOverlayGUI.php.
Referenced by addTrigger().
ilOverlayGUI::setAnchor | ( | string | $a_anchor_el_id, |
string | $a_ov_corner = "tl" , |
||
string | $a_anch_corner = "bl" |
||
) |
string | $a_anchor_el_id | anchor element id |
string | $a_ov_corner | overlay corner ("tl", "tr", "bl", "br") aligned to... |
string | $a_anch_corner | anchor corner ("tl", "tr", "bl", "br") |
Definition at line 55 of file class.ilOverlayGUI.php.
ilOverlayGUI::setAutoHide | ( | bool | $a_val | ) |
Definition at line 93 of file class.ilOverlayGUI.php.
ilOverlayGUI::setCloseElementId | ( | string | $a_val | ) |
Definition at line 103 of file class.ilOverlayGUI.php.
ilOverlayGUI::setFixedCenter | ( | bool | $a_fixed_center = true | ) |
Definition at line 73 of file class.ilOverlayGUI.php.
ilOverlayGUI::setSize | ( | string | $a_width = "" , |
string | $a_height = "" |
||
) |
Definition at line 65 of file class.ilOverlayGUI.php.
ilOverlayGUI::setTrigger | ( | string | $a_el_id, |
string | $a_event = "click" , |
||
?string | $a_trigger_anchor_el_id = null |
||
) |
Definition at line 83 of file class.ilOverlayGUI.php.
ilOverlayGUI::setVisible | ( | bool | $a_visible = true | ) |
Definition at line 78 of file class.ilOverlayGUI.php.
|
protected |
Definition at line 32 of file class.ilOverlayGUI.php.
|
protected |
Definition at line 30 of file class.ilOverlayGUI.php.
|
protected |
Definition at line 31 of file class.ilOverlayGUI.php.
|
protected |
Definition at line 33 of file class.ilOverlayGUI.php.
Referenced by getAutoHide(), and getOnLoadCode().
|
protected |
Definition at line 34 of file class.ilOverlayGUI.php.
Referenced by getCloseElementId(), and getOnLoadCode().
|
protected |
Definition at line 28 of file class.ilOverlayGUI.php.
Referenced by getOnLoadCode().
|
protected |
Definition at line 27 of file class.ilOverlayGUI.php.
Referenced by getOnLoadCode().
|
protected |
Definition at line 38 of file class.ilOverlayGUI.php.
|
protected |
Definition at line 25 of file class.ilOverlayGUI.php.
Referenced by add(), and addTrigger().
|
protected |
Definition at line 37 of file class.ilOverlayGUI.php.
Referenced by getOnLoadCode().
|
protected |
Definition at line 35 of file class.ilOverlayGUI.php.
Referenced by getOnLoadCode().
|
protected |
Definition at line 36 of file class.ilOverlayGUI.php.
Referenced by getOnLoadCode().
|
protected |
Definition at line 29 of file class.ilOverlayGUI.php.
Referenced by getOnLoadCode().
|
protected |
Definition at line 26 of file class.ilOverlayGUI.php.
Referenced by getOnLoadCode().