- skip to content

# Database Abstraction Layer

### User Tools

- Login

### Site Tools

- Recent changes
- Media Manager
- Sitemap

### Sidebar

##### Resources

- Reference Manual
- User Guide
- The Data Dictionary
- ADOdb-xmlschema
- ADOdb Active Record
- Performance Monitoring
- Date/Time Library
- Session Management Library
- Unsupported Addons
- Coding Standards

##### Supported Databases

- Access
- ADO
- CSV
- Firebird
- Frontbase
- IBM DB2
- Informix
- Interbase
- LDAP
- Microsoft SQL Server
- MySQL
- Netezza
- ODBC
- ODBTP
- Oracle
- PDO
- Postgresql
- SAP ADS
- SAP ASE
- SAP Maxdb
- SAP Sqlanywhere
- Sqlite
- Sybase
- Plain Text
- Visual Foxpro

##### Other

- Feature Comparison Matrix
- Connection Matrix
- Include File Guide

v5:addons:xmlrpc

# 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

- The PHP XML-RPC extension
- The xmlrpc Library.

## 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.txt · Last modified: 2015/11/03 19:25 (external edit)

### Page Tools

- Show pagesource
- Old revisions
- Backlinks
- Rename Page
- Back to top