Zend_XmlRpc_RequestXmlRpc Request object
Encapsulates an XmlRpc request, holding the method call and all parameters. Provides accessors for these, as well as the ability to load from XML and to create the XML request string.
Additionally, if errors occur setting the method or parsing XML, a fault is generated and stored in $_fault; developers may check for it using isFault() and getFault().
Located in /XmlRpc/Request.php (line 53)
| Class | Description |
|---|---|
Zend_XmlRpc_Request_Http
|
XmlRpc Request object -- Request via HTTP |
Zend_XmlRpc_Request_Stdin
|
XmlRpc Request object -- Request via STDIN |
string
$_encoding
= 'UTF-8' (line 59)
Request character encoding
Zend_XmlRpc_Fault
$_fault
= null (line 83)
Fault object, if any
string
$_method
(line 65)
Method to call
array
$_params
= array() (line 77)
Method parameters
string
$_xml
(line 71)
XML request
Constructor __construct (line 92)
Create a new XML-RPC request
addParam (line 164)
Add a parameter to the parameter stack
Adds a parameter to the parameter stack, associating it with the type $type if provided
getEncoding (line 121)
Retrieve current request encoding
getMethod (line 149)
Retrieve call method
getParams (line 236)
Retrieve the array of parameters
isFault (line 307)
Does the current request contain errors and should it return a fault response?
loadXml (line 247)
Load XML and parse into request components
saveXML (line 347)
Create XML request
setEncoding (line 110)
Set encoding to use in request
setMethod (line 132)
Set method to call
setParams (line 191)
Set the parameters array
If called with a single, array value, that array is used to set the parameters stack. If called with multiple values or a single non-array value, the arguments are used to set the parameters stack.
Best is to call with array of the format, in order to allow type hinting when creating the XMLRPC values for each parameter:
_getXmlRpcParams (line 327)
Retrieve method parameters as XMLRPC values
__toString (line 377)
Return XML request
Documentation generated on Sun, 27 May 2007 23:27:09 -0700 by phpDocumentor 1.3.2