71 $clone->async_render_url =
$url;
81 $clone->close_with_keyboard = (bool)
$state;
115 $clone = clone $this;
116 $clone->initSignals();
142 $this->show_signal = $this->signal_generator->create();
143 $this->close_signal = $this->signal_generator->create();
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
An exception for terminatinating execution or to throw for unit testing.
getCloseSignal()
Get the signal to close this modal in the frontend.Signal
withCloseWithKeyboard($state)
Get a modal like this which can or cannot be closed by keyboard (ESC), depending on the given $state....
withOnLoad(Signal $signal)
Trigger a signal of another component on load.$this
__construct(SignalGeneratorInterface $signal_generator)
withAsyncRenderUrl($url)
Get a modal like this who's content is rendered via ajax by the given $url before the modal is shown....
withResetSignals()
Get a component like this but reset (regenerate) its signals.$this
getAsyncRenderUrl()
Get the url returning the rendered modal, if the modals content should be rendered via ajax....
appendOnLoad(Signal $signal)
Get a component like this, triggering a signal of another component on load.In contrast to withOnLoad...
getShowSignal()
Get the signal to show this modal in the frontend.Signal
initSignals()
Set the show and close signals for this modal.
getCloseWithKeyboard()
Returns if this modal can be closed with the keyboard (ESC key)bool
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
appendTriggeredSignal(Component\Signal $signal, $event)
Append a triggered signal to other signals of the same event.
addTriggeredSignal(Component\Signal $signal, $event)
Add a triggered signal, replacing any other signals registered on the same event.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
trait ComponentHelper
Provides common functionality for component implementations.