ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
RoundTrip.php
Go to the documentation of this file.
1 <?php
2 
19 namespace ILIAS\UI\Component\Modal;
20 
25 
29 interface RoundTrip extends Modal, Standard
30 {
34  public function getTitle(): string;
35 
41  public function getContent(): array;
42 
48  public function getActionButtons(): array;
49 
53  public function getCancelButtonLabel(): string;
54 
61  public function withActionButtons(array $buttons): RoundTrip;
62 
67  public function withCancelButtonLabel(string $label): RoundTrip;
68 
72  public function getReplaceSignal(): ReplaceSignal;
73 
77  public function initSignals(): void;
78 }
This describes commonalities between the different modals.
Definition: Modal.php:34
getCancelButtonLabel()
Get the label of the cancel button in the footer, as language key.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Bulky.php:21
getContent()
Get the components representing the content of the modal.
withActionButtons(array $buttons)
Get a modal like this with the provided action buttons in the footer.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This describes a standard button.
Definition: Standard.php:26
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21
getActionButtons()
Get all action buttons in the footer of the modal.
getTitle()
Get the title of the modal.
initSignals()
Init the default signals plus extra signals like Replace.
This signal replaces a component by ajax.
getReplaceSignal()
Get the signal to replace the content of this modal.
withCancelButtonLabel(string $label)
Get the modal like this with the provided cancel button string.