XML_Query2XML
[ class tree: XML_Query2XML ] [ index: XML_Query2XML ] [ all elements ]

Class: XML_Query2XML_Driver_ADOdb

Source Location: /XML_Query2XML-1.7.2/XML/Query2XML/Driver/ADOdb.php

Class Overview

XML_Query2XML_Driver
   |
   --XML_Query2XML_Driver_ADOdb

Driver for the database abstraction layer ADOdb.


Author(s):

Version:

  • Release: 1.7.2

Copyright:

  • 2006 Lukas Feiler

Methods


Inherited Variables

Inherited Methods

Class: XML_Query2XML_Driver

XML_Query2XML_Driver::factory()
Factory method.
XML_Query2XML_Driver::getAllRecords()
This method, when implemented executes the query passed as the first argument and returns all records from the result set.
XML_Query2XML_Driver::preprocessQuery()
Pre-processes a query specification and returns a string representation of the query.

Class Details

[line 38]
Driver for the database abstraction layer ADOdb.

usage:

  1.  $driver XML_Query2XML_Driver::factory(NewADOConnection(...));



[ Top ]


Method Detail

__construct (Constructor)   [line 54]

XML_Query2XML_Driver_ADOdb __construct( ADOConnection $db)

Constructor
  • Throws: XML_Query2XML_DBException If the ADOConnection instance passed as argument was not connected to the database server.
  • Access: public

Parameters:

ADOConnection   $db   —  An instance of ADOConnection.

[ Top ]

getAllRecords   [line 75]

array getAllRecords( mixed $sql, string $configPath)

Execute a SQL SELECT statement and fetch all records from the result set.

Overrides XML_Query2XML_Driver::getAllRecords() (This method, when implemented executes the query passed as the first argument and returns all records from the result set.)

Parameters:

mixed   $sql   —  The SQL query as a string or an array.
string   $configPath   —  The config path; used for exception messages.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:43:30 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.