public function getObjectVars() { $data = get_object_vars($this); unset($data['dao']); return $data; }