ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


addons:xmlrpc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
addons:xmlrpc [2015/11/04 04:25] – [rs2xmlrpcval] mnewnhamaddons:xmlrpc [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== The xmlrpc interface ====== 
-<WRAP right box> 
-  requires 'contrib/toxmlrpc.inc.php' 
-</WRAP> 
-===== Description ===== 
-This experimantal contribution creates an interface between an ADOdb recordset and the xmlrpc standard. The interface has 2 dependencies 
-  * The PHP [[http://php.net/manual/en/book.xmlrpc.php|XML-RPC]] extension 
-  * The [[https://github.com/gggeek/phpxmlrpc|xmlrpc]] Library. 
-===== API ===== 
-The API exposes 3 public methods: 
----------- 
-==== rs2xmlrpcval ====   
-<WRAP right box> 
-== Syntax == 
-  string rs2xmlrpcval( 
-         obj $recordeSet 
-         ) 
-</WRAP> 
-The method ''rs2xmlrpcval()'' takes an ADdb recordset and returns a string containing an xmlrpc formatted object. 
-=== Usage === 
-<code php> 
-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 
-*/ 
-</code> 
---------------------------------------- 
-===== xmlrpcval2rs ===== 
-<WRAP alert> 
-Due to lack of maintenance this method is broken  when used with the current xmlrpc library 
-</WRAP> 
-<WRAP right box> 
-== Syntax == 
-  ADODBrecordset xmlrpcval2rs ( 
-      string $xmlrpcval 
-      ) 
-</WRAP> 
-The method ''xmlrpcval2rs()'' takes a correctly formatted xmlrpc string and creates an ADOdb recordset object. 
---------------------------------------- 
-===== rs2xmlrpcstring ===== 
-<WRAP alert> 
-Due to lack of maintenance this method is broken  when used with the current xmlrpc library 
-</WRAP> 
-<WRAP right box> 
-== Syntax == 
-  ADODBrecordset rs2xmlrpcstring ( 
-      string $xmlrpcval 
-      ) 
-</WRAP> 
-The method ''rs2xmlrpcstring ()'' has an unknown utility 
addons/xmlrpc.1446607525.txt.gz · Last modified: 2017/04/21 11:19 (external edit)