ILIAS  release_8 Revision v8.24
Interruptive.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
28interface Interruptive extends Modal
29{
33 public function getMessage(): string;
34
38 public function getTitle(): string;
39
43 public function withFormAction(string $form_action): Interruptive;
44
51 public function withAffectedItems(array $items): Interruptive;
52
56 public function getActionButtonLabel(): string;
57
63 public function withActionButtonLabel(string $action_label): Interruptive;
64
68 public function getCancelButtonLabel(): string;
69
75 public function withCancelButtonLabel(string $cancel_label): Interruptive;
76
82 public function getAffectedItems(): array;
83
87 public function getFormAction(): string;
88}
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.
withCancelButtonLabel(string $cancel_label)
Get a modal like this with the cancel button labeled according to the parameter.
withAffectedItems(array $items)
Get a modal like this listing the given items in the content section below the message.
withActionButtonLabel(string $action_label)
Get a modal like this with the action button labeled according to the parameter.
getAffectedItems()
Return the affected items listed in the content by this modal.
withFormAction(string $form_action)
Get a modal like this submitting the form to the given form action.
getTitle()
Get the title of this modal.
This describes commonalities between the different modals.
Definition: Modal.php:35
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21