19declare(strict_types=1);
24use ILIAS\UI\Implementation\Component\ComponentHelper;
70 $clone->initSignals();
79 $this->show_signal = $this->signal_generator->create();
80 $this->close_signal = $this->signal_generator->create();
81 $this->toggle_signal = $this->signal_generator->create();
115 $this->checkStringArg(
"string",
$headline);
154 $clone->important_fields =
$fields;
187 $this->checkStringArg(
"string",
$headline);
189 $clone->further_fields_headline =
$headline;
207 $clone->further_fields =
$fields;
232 " \ILIAS\UI\Component\Button\Button or " .
233 " \ILIAS\UI\Component\ropdown\Dropdown";
235 $this->checkArg(
"action",
$check, $this->wrongTypeMessage($expected,
$action));
withSubheadline($subheadline)
withContent(Block $content)
withImportantFields(array $fields)
withFurtherFields(array $fields)
initSignals()
Set the signals for this component.
getFurtherFieldsHeadline()
__construct(SignalGeneratorInterface $signal_generator, protected string $table_id)
withLeadingSymbol(Symbol $symbol)
string $further_fields_headline
SignalGeneratorInterface $signal_generator
withFurtherFieldsHeadline($headline)
clone(int $target_parent_obj_id)
readonly SignalGenerator $signal_generator
This describes commonalities between all types of Dropdowns.
This is the interface for Blocks.
initSignals()
Init the default signals plus extra signals like Replace.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.