| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Collaboration diagram for ilOverlayGUI: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 25 of file class.ilOverlayGUI.php.
| ilOverlayGUI::__construct | ( | string | $a_overlay_el_id | ) | 
| ilOverlayGUI::add | ( | ) | 
Definition at line 145 of file class.ilOverlayGUI.php.
References $DIC, $tpl, ilGlobalTemplateInterface\addJavaScript(), ilGlobalTemplateInterface\addOnLoadCode(), getOnLoadCode(), and ilYuiUtil\initOverlay().
 Here is the call graph for this function:| 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 176 of file class.ilOverlayGUI.php.
References $tpl, ilGlobalTemplateInterface\addOnLoadCode(), and getTriggerOnLoadCode().
 Here is the call graph for this function:| ilOverlayGUI::getAutoHide | ( | ) | 
| ilOverlayGUI::getCloseElementId | ( | ) | 
| ilOverlayGUI::getOnLoadCode | ( | ) | 
Definition at line 115 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().
 Here is the caller graph for this function:| 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 163 of file class.ilOverlayGUI.php.
Referenced by addTrigger().
 Here is the caller graph for this function:| 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 57 of file class.ilOverlayGUI.php.
| ilOverlayGUI::setAutoHide | ( | bool | $a_val | ) | 
Definition at line 95 of file class.ilOverlayGUI.php.
| ilOverlayGUI::setCloseElementId | ( | string | $a_val | ) | 
Definition at line 105 of file class.ilOverlayGUI.php.
| ilOverlayGUI::setFixedCenter | ( | bool | $a_fixed_center = true | ) | 
Definition at line 75 of file class.ilOverlayGUI.php.
| ilOverlayGUI::setSize | ( | string | $a_width = "",  | 
        
| string | $a_height = ""  | 
        ||
| ) | 
Definition at line 67 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 85 of file class.ilOverlayGUI.php.
| ilOverlayGUI::setVisible | ( | bool | $a_visible = true | ) | 
Definition at line 80 of file class.ilOverlayGUI.php.
      
  | 
  protected | 
Definition at line 34 of file class.ilOverlayGUI.php.
      
  | 
  protected | 
Definition at line 32 of file class.ilOverlayGUI.php.
      
  | 
  protected | 
Definition at line 33 of file class.ilOverlayGUI.php.
      
  | 
  protected | 
Definition at line 35 of file class.ilOverlayGUI.php.
Referenced by getAutoHide(), and getOnLoadCode().
      
  | 
  protected | 
Definition at line 36 of file class.ilOverlayGUI.php.
Referenced by getCloseElementId(), and getOnLoadCode().
      
  | 
  protected | 
Definition at line 30 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 40 of file class.ilOverlayGUI.php.
      
  | 
  protected | 
Definition at line 27 of file class.ilOverlayGUI.php.
Referenced by add(), and addTrigger().
      
  | 
  protected | 
Definition at line 39 of file class.ilOverlayGUI.php.
Referenced by getOnLoadCode().
      
  | 
  protected | 
Definition at line 37 of file class.ilOverlayGUI.php.
Referenced by getOnLoadCode().
      
  | 
  protected | 
Definition at line 38 of file class.ilOverlayGUI.php.
Referenced by getOnLoadCode().
      
  | 
  protected | 
Definition at line 31 of file class.ilOverlayGUI.php.
Referenced by getOnLoadCode().
      
  | 
  protected | 
Definition at line 28 of file class.ilOverlayGUI.php.
Referenced by getOnLoadCode().