XRL
2.0.0
Simple XML-RPC Library (both client and server)
|
This class represents the response to an XML-RPC request. More...
Public Member Functions | |
__construct ($xmlResult) | |
__toString () | |
publish () | |
Protected Attributes | |
$result | |
The response to an XML-RPC request, as serialized XML. | |
This class represents the response to an XML-RPC request.
Definition at line 21 of file Response.php.
fpoirotte\XRL\Response::__construct | ( | $xmlResult | ) |
Create the response to an XML-RPC request.
mixed | $xmlResult | The result of the request as a string, encoded using XML-RPC types. |
Definition at line 33 of file Response.php.
fpoirotte\XRL\Response::__toString | ( | ) |
Return the XML-RPC response this object represents, as serialized XML.
string | This XML-RPC response, as serialized XML. |
Implements fpoirotte\XRL\ResponseInterface.
Definition at line 43 of file Response.php.
References fpoirotte\XRL\Response\$result.
fpoirotte\XRL\Response::publish | ( | ) |
Publish this XML-RPC response to a browser.
This method sets the proper HTTP headers and then sends the XML-RPC response to a browser.
Implements fpoirotte\XRL\ResponseInterface.
Definition at line 49 of file Response.php.