v5:addons:xmlrpc
This is an old revision of the document!
Table of Contents
The xmlrpc interface
requires 'contrib/toxmlrpc.inc.php'
Description
This experimantal contribution creates an interface between an ADOdb recordset and the xmlrpc standard. The interface has 2 dependencies
API
The API exposes 3 public methods:
rs2xmlrpcval
Syntax
string rs2xmlrpcval( obj $recordeSet )
The method rs2xmlrpcval()
takes an ADdb recordset and returns a string containing an xmlrpc formatted object.
Usage
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 */
xmlrpcval2rs
Due to lack of maintenance this method is broken when used with the current xmlrpc library
Syntax
ADODBrecordset xmlrpcval2rs ( string $xmlrpcval )
The method xmlrpcval2rs()
takes a correctly formatted xmlrpc string and creates an ADOdb recordset object.
rs2xmlrpcstring
Due to lack of maintenance this method is broken when used with the current xmlrpc library
Syntax
ADODBrecordset rs2xmlrpcstring ( string $xmlrpcval )
The method rs2xmlrpcstring ()
has an unknown utility
v5/addons/xmlrpc.1492768181.txt.gz · Last modified: 2017/04/21 11:49 by 127.0.0.1