public function __get($strKey) { if (isset($this->arrData[$strKey])) { return $this->arrData[$strKey]; } return parent::__get($strKey); }