45 parent::__construct($signal_generator);
48 $types = array(
Component\Component::class);
87 $types = array(
Button\Button::class);
90 $clone->action_buttons = $buttons;
109 $clone = clone $this;
110 $clone->cancel_button_label = $label;
127 parent::initSignals();
129 $this->replace_signal = $this->signal_generator->create(
"ILIAS\\UI\\Implementation\\Component\\ReplaceSignal");
137 $clone = clone $this;
withContent($content)
Get Modal like this with the provided components representing the content of the modal.
getCancelButtonLabel()
Get the label of the cancel button in the footer, as language key.string
getTitle()
Get the title of the modal.string
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
initSignals()
Set the show/close/replace signals for this modal.
getActionButtons()
Get all action buttons in the footer of the modal.[]
getReplaceSignal()
Get the signal to replace the content of this modal.
withActionButtons(array $buttons)
Get a modal like this with the provided action buttons in the footer.Note that the footer always cont...
checkArgListElements($which, array &$values, &$classes)
Check every element of the list if it is an instance of one of the given classes. ...
getContent()
Get the components representing the content of the modal.[]
withCancelButtonLabel($label)
toArray($value)
Wrap the given value in an array if it is no array.
__construct($title, $content, SignalGeneratorInterface $signal_generator)