xmlrpcresp
Description
Located in /phpxmlrpc/xmlrpc.php (line 1788)
xmlrpcresp
Variable Summary
Method Summary
xmlrpcresp
xmlrpcresp
(mixed $val, [integer $fcode = 0], [string $fstr = ''], [string $valtyp = ''])
array
cookies
()
void
faultCode
()
void
faultString
()
void
value
()
Variables
Methods
Constructor xmlrpcresp (line 1809)
xmlrpcresp
xmlrpcresp
(mixed $val, integer $fcode, [string $fstr = ''], [string $valtyp = ''])
- mixed $val: either an xmlrpcval obj, a php value or the xml serialization of an xmlrpcval (a string)
- integer $fcode: set it to anything but 0 to create an error response
- string $fstr: the error string, in case of an error response
- string $valtyp: either 'xmlrpcvals', 'phpvals' or 'xml'
cookies (line 1888)
Returns an array with the cookies received from the server.
Array has the form: $cookiename => array ('value' => $val, $attr1 => $val1, $attr2 = $val2, ...) with attributes being e.g. 'expires', 'path', domain'. NB: cookies sent as 'expired' by the server (i.e. with an expiry date in the past) are still present in the array. It is up to the user-defined code to decide how to use the received cookies, and wheter they have to be sent back with the next request to the server (using xmlrpc_client::setCookie) or not
array
cookies
()
faultCode (line 1856)
void
faultCode
()
faultString (line 1864)
void
faultString
()
serialize (line 1898)
Return xml representation of the response
string
serialize
([string $charset_encoding = ''])
- string $charset_encoding: the charset to be used for serialization. if null, US-ASCII is assumed
value (line 1872)
void
value
()
Documentation generated on Mon, 05 Mar 2007 21:32:38 +0000 by phpDocumentor 1.3.1