ILIAS  trunk Revision v11.0_alpha-1843-g9e1fad99175
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Modal.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\UI\Component\Modal;
22 
30 
35 {
39  public function getAsyncRenderUrl(): string;
40 
49  public function withAsyncRenderUrl(string $url);
50 
56  public function withCloseWithKeyboard(bool $state);
57 
61  public function getCloseWithKeyboard(): bool;
62 
66  public function getShowSignal(): Signal;
67 
71  public function getCloseSignal(): Signal;
72 }
This describes commonalities between the different modals.
Definition: Modal.php:34
getShowSignal()
Get the signal to show this modal in the frontend.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$url
Definition: shib_logout.php:66
withAsyncRenderUrl(string $url)
Get a modal like this who&#39;s content is rendered via ajax by the given $url before the modal is shown...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21
getCloseSignal()
Get the signal to close this modal in the frontend.
withCloseWithKeyboard(bool $state)
Get a modal like this which can or cannot be closed by keyboard (ESC), depending on the given $state...
getCloseWithKeyboard()
Returns if this modal can be closed with the keyboard (ESC key)
getAsyncRenderUrl()
Get the url returning the rendered modal, if the modals content should be rendered via ajax...