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)
Get a row like this with the given subheadline.\ILIAS\UI\Component\Table\PresentationRow
getShowSignal()
Get the signal to expand the row.Signal
withImportantFields(array $fields)
Get a row like this with the record-fields and labels to be shown in the collapsed row....
withFurtherFields(array $fields)
Get a row like this with the record-fields and labels to be shown in the list of the expanded row....
initSignals()
Set the signals for this component.
withHeadline($headline)
Get a row like this with the given headline.\ILIAS\UI\Component\Table\PresentationRow
getFurtherFieldsHeadline()
getCloseSignal()
Get the signal to collapse the row.Signal
withResetSignals()
Get a component like this but reset (regenerate) its signals.$this
getToggleSignal()
Get the signal to toggle (expand/collapse) the row.Signal
__construct(SignalGeneratorInterface $signal_generator)
withAction($action)
Get a row like this with a button or a dropdown for actions in the expanded row.\ILIAS\UI\Component\T...
withFurtherFieldsHeadline($headline)
Get a row like this with a headline for the field-list in the expanded row.\ILIAS\UI\Component\Table\...
withContent(\ILIAS\UI\Component\Listing\Descriptive $content)
Get a row like this with a descriptive listing as content.
A component is the most general form of an entity in the UI.
This describes a Row used in Presentation Table.
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.
Class ChatMainBarProvider \MainMenu\Provider.