Static Public Member Functions

XMLRPCUtils Class Reference

List of all members.

Static Public Member Functions

static encode_arg ($params, $arg)
static decode_args ($value)

Detailed Description

XMLRPC Utility class

Definition at line 12 of file xmlrpcutils.php.


Member Function Documentation

static XMLRPCUtils::decode_args ( value  )  [static]

Decode the value of a response parameter using the datatype specified in the XML element.

Parameters:
SimpleXMLElement $value A "value" element from the XMLRPC response
Returns:
mixed The value of the element, decoded from the datatype specified in the xml element

Definition at line 75 of file xmlrpcutils.php.

Referenced by XMLRPCClient::__call(), and XMLRPCServer::act_xmlrpc_call().

static XMLRPCUtils::encode_arg ( params,
arg 
) [static]

Encode a variable value into the parameters of the XML tree

Parameters:
SimpleXMLElement $params The parameter to add the value elements to.
mixed $arg The value to encode

Definition at line 21 of file xmlrpcutils.php.

Referenced by XMLRPCClient::__call(), and XMLRPCServer::act_xmlrpc_call().


The documentation for this class was generated from the following file: