public function offsetSet($Index, $Entity) { $this->VerifyEntity(__METHOD__, $Entity); if (isset($this[$Index])) { if ($this[$Index] === $Entity) { return; } } $this->IsAltered = true; return parent::offsetSet($Index, $Entity); }
public function offsetSet($index, $newval) { $this->Load(); return parent::offsetSet($index, $newval); }