/adodb5/contrib/toxmlrpc.inc.php

Description

Helper functions to convert between ADODB recordset objects and XMLRPC values.

Uses John Lim's AdoDB and Edd Dumbill's phpxmlrpc libs

  • author: Gaetano Giunta
  • author: Daniele Baroncelli
  • copyright: (c) 2003-2004 Giunta/Baroncelli. All rights reserved.
  • todo: some more error checking here and there
  • todo: verify if using xmlrpc_encode($rs->GetArray()) would work with:
    • ADODB_FETCH_BOTH
    • null values
  • todo: document the xmlrpc-struct used to encode recordset info
  • filesource: Source Code for this file
Includes
require_once ('adodb.inc.php') (line 21)
require_once ('xmlrpc.inc') (line 20)

Include the main libraries

Functions
rs2xmlrpcstring (line 122)

Returns an xmlrpc struct value as string out of an AdoDB recordset

void rs2xmlrpcstring ( &$adodbrs)
  • &$adodbrs
rs2xmlrpcval (line 26)

Builds an xmlrpc struct value out of an AdoDB recordset

void rs2xmlrpcval ( &$adodbrs)
  • &$adodbrs
rs2xmlrpcval_body (line 87)

Builds an xmlrpc struct value out of an AdoDB recordset

(data values only, no data definition)

void rs2xmlrpcval_body ( $adodbrs)
  • $adodbrs
rs2xmlrpcval_header (line 44)

Builds an xmlrpc struct value describing an AdoDB recordset

void rs2xmlrpcval_header ( $adodbrs)
  • $adodbrs
xmlrpcval2rs (line 135)

Given a well-formed xmlrpc struct object returns an AdoDB object

  • todo: add some error checking on the input value
void xmlrpcval2rs ( &$xmlrpcval)
  • &$xmlrpcval

Documentation generated on Sun, 09 Mar 2008 23:53:36 -0300 by phpDocumentor 1.4.0

SourceForge.net Logo Support This Project