5use \ILIAS\UI\Component;
105 $clone = clone $this;
118 $clone = clone $this;
119 $clone->ajax_content_url =
$url;
131 $clone = clone $this;
143 $clone = clone $this;
144 $clone->initSignals();
173 $this->show_signal = $this->signal_generator->create();
174 $this->replace_content_signal = $this->signal_generator->create(
"ILIAS\\UI\\Implementation\\Component\\ReplaceContentSignal");
183 $this->fixed_position =
true;
An exception for terminatinating execution or to throw for unit testing.
getReplaceContentSignal()
Get the signal to replace the content of this popover.ReplaceContentSignal
withVerticalPosition()
Get the same popover being rendered below or above the triggerer, based on the available space....
getTitle()
Get the title of the popover.string
withAsyncContentUrl($url)
Get a popover like this who's content is rendered via ajax by the given $url before the popover is sh...
__construct(SignalGeneratorInterface $signal_generator)
getShowSignal()
Get the signal to show this popover in the frontend.Signal
initSignals()
Init any signals of this component.
withTitle($title)
Get the same popover displaying a title above the content.Popover
withFixedPosition()
Get a popover which can be used in fixed places such as the main menu.This popover will stay fixed wh...
isFixedPosition()
bool whether it's fixed or not
withResetSignals()
Get a component like this but reset (regenerate) its signals.$this
getPosition()
Get the position of the popover.string
withHorizontalPosition()
Get the same popover being rendered to the left or right of the triggerer, based on the available spa...
getAsyncContentUrl()
Get the url returning the rendered content, if the popovers content is rendered via ajax....
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
trait ComponentHelper
Provides common functionality for component implementations.