The ripcord class contains a number of useful static methods. This makes it a bit easier to create a server or client, convert types and check for errors.
Located in /ripcord.php (line 16)
This method returns an XML-RPC base64 object from a given binary string.
This method returns a (binary) string from a given XML-RPC base64 object.
It will throw a 'Variable is not of type base64' Ripcord_Exception (code -7) if the given argument is not of the correct type.
This method returns a new Ripcord client. By default this will be an XML-RPC client, but you can change this through the $options argument.
This method returns an XML-RPC datetime object from a given unix timestamp.
This method returns a new Ripcord documentor object.
This method creates a new Ripcord_Client_Call object, which encodes the information needed for a method call to an rpc server. This is mostly used for the system.multiCall method.
This method generates an XML-RPC fault with the given code and message.
This method returns the type of the given parameter. This can be any of the XML-RPC data types, e.g.
'struct', 'int', 'string', 'base64', 'boolean', 'double', 'array' or 'datetime'.
This method checks whether the given argument is an XML-RPC fault.
This method includes a ripcord class, using require_once. Used for autoloading ripcord classes.
This method returns a new Ripcord server, which by default implements XML-RPC, Simple RPC and SOAP 1.1.
The server will publish any methods passed through the $services argument. It can be configured through the $options argument.
This method returns a new Ripcord client, configured to access a Simple RPC server.
This method returns a new Ripcord client, configured to access a SOAP 1.1 server.
This method returns a unix timestamp from a given XML-RPC datetime object.
It will throw a 'Variable is not of type datetime' Ripcord_Exception (code -6) if the given argument is not of the correct type.
This method returns a new Ripcord client, configured to access an XML-RPC server.
Could not access {url} - Thrown by the transport object when unable to access the given url.
Cannot recurse system.multiCall - Thrown by the ripcord server when system.multicall is called within itself.
Method {method} not found. - Thrown by the ripcord server when a requested method isn't found.
Variable is not of type base64 - Thrown by the ripcord binary method.
Variable is not of type datetime - Thrown by the ripcord timestamp method.
Argument {index} is not a valid Ripcord call - Thrown by the client when passing incorrect arguments to system.multiCall.
Variable is not a classname or an object - Thrown by the ripcord server.
PHP XMLRPC library is not installed - Thrown by the ripcord server and client when the xmlrpc library is not installed.
Documentation generated on Tue, 16 Nov 2010 16:20:15 +0100 by phpDocumentor 1.4.3