ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Popover.php
Go to the documentation of this file.
1 <?php
2 
4 
9 
13 interface Popover extends Component, Triggerable
14 {
15  const POS_AUTO = 'auto';
16  const POS_VERTICAL = 'vertical';
17  const POS_HORIZONTAL = 'horizontal';
18 
19 
27  public function withTitle($title);
28 
29 
35  public function getTitle();
36 
37 
44  public function withVerticalPosition();
45 
46 
53  public function withHorizontalPosition();
54 
55 
61  public function getPosition();
62 
63 
76  public function withAsyncContentUrl($url);
77 
78 
84  public function getAsyncContentUrl();
85 
86 
92  public function getShowSignal();
93 
94 
100  public function getReplaceContentSignal();
101 
102 
109  public function withFixedPosition();
110 
111 
115  public function isFixedPosition();
116 }
Describes the Popover component.
Definition: Popover.php:13
getPosition()
Get the position of the popover.
getReplaceContentSignal()
Get the signal to replace the content of this popover.
withTitle($title)
Get the same popover displaying a title above the content.
withFixedPosition()
Get a popover which can be used in fixed places such as the main menu.
getAsyncContentUrl()
Get the url returning the rendered content, if the popovers content is rendered via ajax...
withHorizontalPosition()
Get the same popover being rendered to the left or right of the triggerer, based on the available spa...
withVerticalPosition()
Get the same popover being rendered below or above the triggerer, based on the available space...
getShowSignal()
Get the signal to show this popover in the frontend.
withAsyncContentUrl($url)
Get a popover like this who&#39;s content is rendered via ajax by the given $url before the popover is sh...
getTitle()
Get the title of the popover.
$url