73 $this->signal_generator = $signal_generator;
74 $this->actions =
null;
84 $clone->initSignals();
93 $this->show_signal = $this->signal_generator->create();
94 $this->close_signal = $this->signal_generator->create();
95 $this->toggle_signal = $this->signal_generator->create();
130 $clone = clone $this;
149 $clone = clone $this;
167 $clone = clone $this;
168 $clone->important_fields = $fields;
186 $clone = clone $this;
206 $clone = clone $this;
207 $clone->further_fields_headline =
$headline;
224 $clone = clone $this;
225 $clone->further_fields = $fields;
245 ||
$action instanceof \ILIAS\UI\Component\Button\Button
246 ||
$action instanceof \ILIAS\UI\Component\Dropdown\Dropdown;
250 " \ILIAS\UI\Component\Button\Button or " .
251 " \ILIAS\UI\Component\ropdown\Dropdown";
254 $clone = clone $this;
An exception for terminatinating execution or to throw for unit testing.
withSubheadline($subheadline)
withImportantFields(array $fields)
withFurtherFields(array $fields)
initSignals()
Set the signals for this component.
getFurtherFieldsHeadline()
__construct(SignalGeneratorInterface $signal_generator)
withFurtherFieldsHeadline($headline)
withContent(\ILIAS\UI\Component\Listing\Descriptive $content)
A component is the most general form of an entity in the UI.
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
checkArg($which, $check, $message)
/** Throw an InvalidArgumentException containing the message if $check is false.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
wrongTypeMessage($expected, $value)
trait ComponentHelper
Provides common functionality for component implementations.