ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
Modal.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
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.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
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.
$url
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...