ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
Popover.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
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 
88 
93  public function withFixedPosition(): Popover;
94 
98  public function isFixedPosition(): bool;
99 }
Describes the Popover component.
Definition: Popover.php:31
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
withTitle(string $title)
Get the same popover displaying a title above the content.
getPosition()
Get the position of the popover.
getReplaceContentSignal()
Get the signal to replace the content of this popover.
This signal replaces the content of a component by ajax.
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 trigger, based on the available space...
withVerticalPosition()
Get the same popover being rendered below or above the trigger, based on the available space...
getShowSignal()
Get the signal to show this popover in the frontend.
getTitle()
Get the title of the popover.
$url
withAsyncContentUrl(string $url)
Get a popover like this who&#39;s content is rendered via ajax by the given $url before the popover is sh...