protected function _getAttribute($name, $default = null) { if (!is_array($this->_properties[$name]) && $this->_properties[$name] !== false || is_array($this->_properties[$name])) { return $this->_properties[$name]; } else { return $default; } }