The XML-RPC interface has been removed in ADOdb 5.21.0. Please refer to Issue #671 for further information.
requires 'contrib/toxmlrpc.inc.php'
This experimental contribution creates an interface between an ADOdb recordset and the xmlrpc standard. The interface has 2 dependencies
The API exposes 3 public methods:
string rs2xmlrpcval( obj $recordeSet )
The method rs2xmlrpcval()
takes an ADdb recordset and returns a string containing an xmlrpc formatted object.
include 'adodb/contrib/toxmlrpc.inc.php' /* * Connection assumed */ $sql = 'select * from orders'; $result = $db->execute($sql); $rpc = rs2xmlrpc($result); print $rpc; /* * prints the rpc object */
Due to lack of maintenance this method is broken when used with the current xmlrpc library
ADODBrecordset xmlrpcval2rs ( string $xmlrpcval )
The method xmlrpcval2rs()
takes a correctly formatted xmlrpc string and creates an ADOdb recordset object.
Due to lack of maintenance this method is broken when used with the current xmlrpc library
ADODBrecordset rs2xmlrpcstring ( string $xmlrpcval )
The method rs2xmlrpcstring ()
has an unknown utility