Class jXmlRpc

Description

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

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


	
			
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 35)

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 77)

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 123)

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 62)

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 111)

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 Mon, 26 Oct 2015 21:56:56 +0100 by phpDocumentor 1.4.3