The offset to assign the value to.
The value to set.
public function offsetSet($offset, $value) { if (!array_key_exists($offset, $this->oData)) { trigger_error('Offset ' . $offset . ' does not exists in oData structure. Added as a new key.', E_USER_NOTICE); } $this->oData[$offset] = $value; }