/** * This overrides the ArrayObject's own * method so that if something is added * to this object by using * $Request['var'] = $val then it is * automatically also added to aFiltered array * * @param $key * @param $val */ public function offsetSet($key, $val) { parent::offsetSet($key, $val); $this->aFiltered[$key] = $val; }