/** * Convert the object attributes to a hash. * * @param array $attrs The attributes to return. * @param boolean $single Should only a single attribute be returned? * * @return array|PEAR_Error The hash representing this object. */ public function toHash(array $attrs = array(), $single = true) { return $this->_object->toHash($attrs, $single); }