addParameter( new XMLRPCStructParameter( array ( 'faultCode' => new XMLRPCIntParameter($code), 'faultString' => new XMLRPCStringParameter($message) ) ) ); } /** * Output to XML. */ public function __toString() { return "{$this->parameters[0]}"; } }