ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
Popover.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Component\Popover
;
22
23
use
ILIAS\UI\Component\Component
;
24
use
ILIAS\UI\Component\Signal
;
25
use
ILIAS\UI\Component\Triggerable
;
26
use
ILIAS\UI\Component\ReplaceContentSignal
;
27
31
interface
Popover
extends
Component
,
Triggerable
32
{
33
public
const
POS_AUTO
=
'auto'
;
34
public
const
POS_VERTICAL
=
'vertical'
;
35
public
const
POS_HORIZONTAL
=
'horizontal'
;
36
40
public
function
withTitle
(
string
$title):
Popover
;
41
45
public
function
getTitle
(): string;
46
51
public
function
withVerticalPosition
():
Popover
;
52
57
public
function
withHorizontalPosition
():
Popover
;
58
62
public
function
getPosition
(): string;
63
72
public
function
withAsyncContentUrl
(
string
$url
):
Popover
;
73
77
public
function
getAsyncContentUrl
(): string;
78
82
public
function
getShowSignal
():
Signal
;
83
87
public
function
getReplaceContentSignal
():
ReplaceContentSignal
;
88
93
public
function
withFixedPosition
():
Popover
;
94
98
public
function
isFixedPosition
(): bool;
99
}
ILIAS\UI\Component\Component
A component is the most general form of an entity in the UI.
Definition:
Component.php:28
ILIAS\UI\Component\Popover\Popover
Describes the Popover component.
Definition:
Popover.php:32
ILIAS\UI\Component\Popover\Popover\POS_HORIZONTAL
const POS_HORIZONTAL
Definition:
Popover.php:35
ILIAS\UI\Component\Popover\Popover\getAsyncContentUrl
getAsyncContentUrl()
Get the url returning the rendered content, if the popovers content is rendered via ajax.
ILIAS\UI\Component\Popover\Popover\withHorizontalPosition
withHorizontalPosition()
Get the same popover being rendered to the left or right of the trigger, based on the available space...
ILIAS\UI\Component\Popover\Popover\withAsyncContentUrl
withAsyncContentUrl(string $url)
Get a popover like this who's content is rendered via ajax by the given $url before the popover is sh...
ILIAS\UI\Component\Popover\Popover\isFixedPosition
isFixedPosition()
ILIAS\UI\Component\Popover\Popover\withTitle
withTitle(string $title)
Get the same popover displaying a title above the content.
ILIAS\UI\Component\Popover\Popover\getShowSignal
getShowSignal()
Get the signal to show this popover in the frontend.
ILIAS\UI\Component\Popover\Popover\getTitle
getTitle()
Get the title of the popover.
ILIAS\UI\Component\Popover\Popover\getPosition
getPosition()
Get the position of the popover.
ILIAS\UI\Component\Popover\Popover\withVerticalPosition
withVerticalPosition()
Get the same popover being rendered below or above the trigger, based on the available space.
ILIAS\UI\Component\Popover\Popover\getReplaceContentSignal
getReplaceContentSignal()
Get the signal to replace the content of this popover.
ILIAS\UI\Component\Popover\Popover\POS_AUTO
const POS_AUTO
Definition:
Popover.php:33
ILIAS\UI\Component\Popover\Popover\POS_VERTICAL
const POS_VERTICAL
Definition:
Popover.php:34
ILIAS\UI\Component\Popover\Popover\withFixedPosition
withFixedPosition()
Get a popover which can be used in fixed places such as the main menu.
ILIAS\UI\Component\ReplaceContentSignal
This signal replaces the content of a component by ajax.
Definition:
ReplaceContentSignal.php:31
ILIAS\UI\Component\Signal
Definition:
Signal.php:33
ILIAS\UI\Component\Triggerable
Definition:
Triggerable.php:35
ILIAS\UI\Component\Popover
Definition:
Factory.php:21
ILIAS\UI\Component
$url
$url
Definition:
shib_logout.php:68
components
ILIAS
UI
src
Component
Popover
Popover.php
Generated on Sun Oct 19 2025 23:04:31 for ILIAS by
1.9.4 (using
Doxyfile
)