ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
RoundTrip.php
Go to the documentation of this file.
1 <?php
3 
5 
9 interface RoundTrip extends Modal
10 {
11 
17  public function getTitle();
18 
19 
25  public function getContent();
26 
33  public function withContent($a_content);
34 
35 
41  public function getActionButtons();
42 
43 
49  public function getCancelButtonLabel();
50 
51 
59  public function withActionButtons(array $buttons);
60 
68  public function withCancelButtonLabel($label);
69 
75  public function getReplaceSignal();
76 
80  public function initSignals();
81 }
This describes commonalities between the different modals.
Definition: Modal.php:13
getCancelButtonLabel()
Get the label of the cancel button in the footer, as language key.
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.
$a_content
Definition: workflow.php:93
withCancelButtonLabel($label)
Get the modal like this with the provided cancel button string.
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.
withContent($a_content)
Get Modal like this with the provided components representing the content of the modal.
getReplaceSignal()
Get the signal to replace the content of this modal.