19declare(strict_types=1);
28use ILIAS\UI\Implementation\Component\ComponentHelper;
48 DataFactory $data_factory,
53 ?
string $byline =
null
62 $clone = parent::withDisabled($is_disabled);
63 $clone->setInputs(array_map(fn($i) => $i->withDisabled($is_disabled), $this->getInputs()));
69 $clone = parent::withRequired($is_required, $requirement_constraint);
70 $clone->setInputs(array_map(fn($i) => $i->withRequired($is_required, $requirement_constraint), $this->getInputs()));
76 if ($this->is_required) {
80 if ($input->isRequired()) {
89 $clone = parent::withOnUpdate($signal);
90 $clone->setInputs(array_map(fn($i) => $i->withOnUpdate($signal), $this->getInputs()));
122 $clone->setInputs($this->
nameInputs($source, $clone->getName()));
152 return $this->data_factory;
A result encapsulates a value or an error and simplifies the handling of those.
A result encapsulates a value or an error and simplifies the handling of those.
A constraint encodes some resrtictions on values.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.