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