13 class Card implements C\Card
109 $classes = [\ILIAS\UI\Component\Component::class];
112 $clone = clone $this;
113 $clone->content_sections = $sections;
132 $clone = clone $this;
133 if (is_string($action)) {
134 $clone->title_action = $action;
136 $clone->title_action = null;
137 $clone->setTriggeredSignal($action,
"click");
148 if ($this->title_action !== null) {
159 $clone = clone $this;
160 $clone->highlight = $status;
withSections(array $sections)
Class ChatMainBarProvider .
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
trait ComponentHelper
Provides common functionality for component implementations.
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
withImage(\ILIAS\UI\Component\Image\Image $image)
getTriggeredSignalsFor($event)
Get signals that are triggered for a certain event.
__construct($title, \ILIAS\UI\Component\Image\Image $image=null)
appendTriggeredSignal(Component\Signal $signal, $event)
Append a triggered signal to other signals of the same event.
checkStringOrSignalArg($which, $value)
Throw an InvalidArgumentException if $value is no string or Signal.
appendOnClick(Signal $signal)
checkArgListElements($which, array &$values, $classes)
Check every element of the list if it is an instance of one of the given classes. ...
withOnClick(Signal $signal)
withTriggeredSignal(Component\Signal $signal, $event)
Add a triggered signal, replacing any other signals registered on the same event. ...