ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Interruptive.php
Go to the documentation of this file.
1<?php
2
4
10interface Interruptive extends Modal
11{
12
18 public function getMessage();
19
20
26 public function getTitle();
27
28
36 public function withFormAction($form_action);
37
38
47 public function withAffectedItems(array $items);
48
49
55 public function getActionButtonLabel();
56
57
63 public function getCancelButtonLabel();
64
65
71 public function getAffectedItems();
72
73
79 public function getFormAction();
80}
An exception for terminatinating execution or to throw for unit testing.
getCancelButtonLabel()
Get the label of the cancel button in the footer.
getFormAction()
Get the form action where the action button is sending the IDs of the affected items.
getActionButtonLabel()
Get the label of the action button in the footer.
getMessage()
Get the message of this modal, displayed below the modals title.
withFormAction($form_action)
Get a modal like this submitting the form to the given form action.
withAffectedItems(array $items)
Get a modal like this listing the given items in the content section below the message.
getAffectedItems()
Return the affected items listed in the content by this modal.
getTitle()
Get the title of this modal.
This describes commonalities between the different modals.
Definition: Modal.php:14