ILIAS  release_8 Revision v8.24
RoundTrip.php
Go to the documentation of this file.
1<?php
2
20
25
29interface 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 a standard button.
Definition: Standard.php:27
A component is the most general form of an entity in the UI.
Definition: Component.php:28
This describes a standard form.
Definition: Standard.php:27
This describes commonalities between the different modals.
Definition: Modal.php:35
withCancelButtonLabel(string $label)
Get the modal like this with the provided cancel button string.
withActionButtons(array $buttons)
Get a modal like this with the provided action buttons in the footer.
getActionButtons()
Get all action buttons in the footer of the modal.
getTitle()
Get the title of the modal.
getContent()
Get the components representing the content of the modal.
getCancelButtonLabel()
Get the label of the cancel button in the footer, as language key.
getReplaceSignal()
Get the signal to replace the content of this modal.
initSignals()
Init the default signals plus extra signals like Replace.
This signal replaces a component by ajax.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Bulky.php:21
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21