Class XML_Query2XML_Driver_ADOdb

Description

Driver for the database abstraction layer ADOdb.

usage:

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

Located in /Query2XML/Driver/ADOdb.php (line 38)

XML_Query2XML_Driver
   |
   --XML_Query2XML_Driver_ADOdb
Method Summary
XML_Query2XML_Driver_ADOdb __construct ( $db)
array getAllRecords (mixed $sql, string $configPath)
Methods
Constructor __construct (line 54)

Constructor

  • throws: XML_Query2XML_DBException If the ADOConnection instance passed as argument was not connected to the database server.
  • access: public
XML_Query2XML_Driver_ADOdb __construct ( $db)
  • ADOConnection $db: An instance of ADOConnection.
getAllRecords (line 75)

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

array getAllRecords (mixed $sql, string $configPath)
  • mixed $sql: The SQL query as a string or an array.
  • string $configPath: The config path; used for exception messages.

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

Inherited Methods

Inherited From XML_Query2XML_Driver

XML_Query2XML_Driver::factory()
XML_Query2XML_Driver::getAllRecords()
XML_Query2XML_Driver::preprocessQuery()

Documentation generated on Sun, 03 Apr 2011 13:13:07 +0200 by phpDocumentor 1.4.1