32 return $collection->onItemModify($this, $name, $oldValue, $value);
55 public function delete()
77 $this->internalIndex = $index;
98 return $parent->isStartField($isMeaningfulField);
110 return $parent->clearStartField();
122 return $parent->hasMeaningfulField();
133 return $parent->doFinalAction($hasMeaningfulField);
148 return $parent->setMathActionOnly($value);
160 return $parent->isMathActionOnly();
177 public function createClone(\SplObjectStorage $cloneEntity)
179 if ($this->
isClone() && $cloneEntity->contains($this))
181 return $cloneEntity[$this];
184 $collectableEntity = clone $this;
185 $collectableEntity->isClone =
true;
188 if ($fields = $this->fields)
190 $collectableEntity->fields = $fields->createClone($cloneEntity);
193 if (!$cloneEntity->contains($this))
195 $cloneEntity[$this] = $collectableEntity;
207 $collectableEntity->collection = $cloneEntity[
$collection];
211 return $collectableEntity;