119 $clone = clone $this;
120 $clone->action_button_label = $action_label;
139 $clone = clone $this;
140 $clone->cancel_button_label = $cancel_label;
getTitle()
Get the title of this modal.string
withFormAction($form_action)
Get a modal like this submitting the form to the given form action.Interruptive
withCancelButtonLabel(string $cancel_label)
Get a modal like this with the cancel button labeled according to the parameter.The label will be tra...
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
getCancelButtonLabel()
Get the label of the cancel button in the footer.string
getAffectedItems()
Return the affected items listed in the content by this modal.InterruptiveItem[]
__construct(Container $dic, ilPlugin $plugin)
__construct($title, $message, $form_action, SignalGeneratorInterface $signal_generator)
getMessage()
Get the message of this modal, displayed below the modals title.string
getFormAction()
Get the form action where the action button is sending the IDs of the affected items.string
withActionButtonLabel(string $action_label)
Get a modal like this with the action button labeled according to the parameter.The label will be tra...
withAffectedItems(array $items)
Get a modal like this listing the given items in the content section below the message.The IDs of the interruptive items are sent via POST to the form action of this modal.$itemsInterruptive
checkArgListElements($which, array &$values, $classes)
Check every element of the list if it is an instance of one of the given classes. ...
getActionButtonLabel()
Get the label of the action button in the footer.string