ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Popover.php
Go to the documentation of this file.
1<?php
2
4
9
13interface 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}
An exception for terminatinating execution or to throw for unit testing.
A component is the most general form of an entity in the UI.
Definition: Component.php:14
Describes the Popover component.
Definition: Popover.php:14
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...
withTitle($title)
Get the same popover displaying a title above the content.
withAsyncContentUrl($url)
Get a popover like this who's content is rendered via ajax by the given $url before the popover is sh...
getShowSignal()
Get the signal to show this popover in the frontend.
getTitle()
Get the title of the popover.
getPosition()
Get the position of the popover.
withVerticalPosition()
Get the same popover being rendered below or above the triggerer, based on the available space.
getReplaceContentSignal()
Get the signal to replace the content of this popover.
withFixedPosition()
Get a popover which can be used in fixed places such as the main menu.
This signal replaces the content of a component by ajax.
$url