19 declare(strict_types=1);
   104         $clone = clone $this;
   129         $clone = clone $this;
   130         $clone->setError($error);
   147         $clone = clone $this;
   148         $clone->setAdditionalTransformation($trafo);
   160         $this->operations[] = $trafo;
   161         if ($this->content !== null) {
   162             if (!$this->content->isError()) {
   163                 $this->content = $trafo->
applyTo($this->content);
   165             if ($this->content->isError()) {
   166                 $this->
setError($this->content->error());
   184         $clone = clone $this;
   202         $clone = clone $this;
   206             $clone->name = ($parent_name !== null) ? $parent_name . 
'/' : 
'';
   208         $clone->name .= ($clone->dedicated_name !== null)
   209                         ? $source->getNewDedicatedName($clone->dedicated_name)
   222         if ($this->
getName() === null) {
   223             throw new LogicException(
"Can only collect if input has a name.");
   238         if ($clone->content->isError()) {
   239             $error = $clone->content->error();
   241                 $error = $error->getMessage();
   243             return $clone->withError(
"" . $error);
   256         $res = $this->data_factory->ok(
$res);
   258             if (
$res->isError()) {
   274         foreach ($this->operations as $op) {
   284         if (is_null($this->content)) {
   285             throw new LogicException(
"No content of this field has been evaluated yet. Seems withRequest was not called.");
 
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...