public function __get($name) { if (isset($this->_attributes[$name])) { return $this->_attributes[$name]; } else { parent::__get($name); } }