Class jXmlRpc

Description

object to encode decode some XMl-RPC request and XMl-RPC response

Located in /utils/jXmlRpc.class.php (line 26)


	
			
Method Summary
static array decodeRequest (string $xmlcontent)
static mixed decodeResponse (string $xmlcontent)
static string encodeFaultResponse (string $code, string $message, [string $charset = ''])
static string encodeRequest (string $methodname, array $params, [string $charset = ''])
static string encodeResponse (mixed $params, [string $charset = ''])
Methods
static decodeRequest (line 36)

decode an xmlrpc request

  • return: first element content the method name to execute second element content parameters
  • access: public
static array decodeRequest (string $xmlcontent)
  • string $xmlcontent: the content of the request, in xmlrpc format
static decodeResponse (line 78)

decode an xmlrpc response

  • return: data stored into the response
  • access: public
static mixed decodeResponse (string $xmlcontent)
  • string $xmlcontent: the content of the response, in xmlrpc format
static encodeFaultResponse (line 124)

encode an xmlrpc error response

  • return: the xmlrpc response
  • access: public
static string encodeFaultResponse (string $code, string $message, [string $charset = ''])
  • string $code: the error code
  • string $message
  • string $charset: the charset to use
static encodeRequest (line 63)

encode an xmlrpc request

  • return: xmlrpc request
  • access: public
static string encodeRequest (string $methodname, array $params, [string $charset = ''])
  • string $methodname
  • array $params: method parameters
  • string $charset
static encodeResponse (line 112)

encode an xmlrpc response

  • return: the xmlrpc response
  • access: public
static string encodeResponse (mixed $params, [string $charset = ''])
  • mixed $params: the value to stored into the response
  • string $charset: the charset to use

Documentation generated on Wed, 07 Sep 2011 13:48:14 +0200 by phpDocumentor 1.4.3