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;
initSignals()
Set the signals for this component.
withSubheadline($subheadline)
Get a row like this with the given subheadline.
checkArg($which, $check, $message)
/** Throw an InvalidArgumentException containing the message if $check is false.
withFurtherFields(array $fields)
Get a row like this with the record-fields and labels to be shown in the list of the expanded row...
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
withResetSignals()
Get a component like this but reset (regenerate) its signals.$this
trait ComponentHelper
Provides common functionality for component implementations.
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
getFurtherFieldsHeadline()
withFurtherFieldsHeadline($headline)
Get a row like this with a headline for the field-list in the expanded row.
getCloseSignal()
Get the signal to collapse the row.Signal
This describes a Row used in Presentation Table.
withContent(\ILIAS\UI\Component\Listing\Descriptive $content)
Get a row like this with a descriptive listing as content.
getShowSignal()
Get the signal to expand the row.Signal
withHeadline($headline)
Get a row like this with the given headline.
wrongTypeMessage($expected, $value)
withImportantFields(array $fields)
Get a row like this with the record-fields and labels to be shown in the collapsed row...
getToggleSignal()
Get the signal to toggle (expand/collapse) the row.Signal
withAction($action)
Get a row like this with a button or a dropdown for actions in the expanded row.
__construct(SignalGeneratorInterface $signal_generator)