ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
RoundTrip.php
Go to the documentation of this file.
1<?php
3
5
9interface RoundTrip extends Modal
10{
11
17 public function getTitle();
18
19
25 public function getContent();
26
27
33 public function getActionButtons();
34
35
41 public function getCancelButtonLabel();
42
43
51 public function withActionButtons(array $buttons);
52
60 public function withCancelButtonLabel($label);
61}
An exception for terminatinating execution or to throw for unit testing.
This describes commonalities between the different modals.
Definition: Modal.php:14
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.
withCancelButtonLabel($label)
Get the modal like this with the provided cancel button string.
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.