ODBCDatabaseInfo Class Reference

Inheritance diagram for ODBCDatabaseInfo:

DatabaseInfo

List of all members.

Protected Member Functions

 initTables ()
 initSequences ()


Detailed Description

Definition at line 34 of file ODBCDatabaseInfo.php.


Member Function Documentation

ODBCDatabaseInfo::initSequences (  )  [protected]

Returns:
void
Exceptions:
SQLException 

Reimplemented from DatabaseInfo.

Definition at line 61 of file ODBCDatabaseInfo.php.

00062     {
00063         // Not sure how this is used yet.
00064     }

ODBCDatabaseInfo::initTables (  )  [protected]

See also:
DatabaseInfo::initTables()

Reimplemented from DatabaseInfo.

Definition at line 39 of file ODBCDatabaseInfo.php.

References $result.

00040     {
00041         include_once 'creole/drivers/odbc/metadata/ODBCTableInfo.php';
00042 
00043         $result = @odbc_tables($this->conn->getResource());
00044 
00045         if (!$result)
00046             throw new SQLException('Could not list tables', $this->conn->nativeError());
00047 
00048         while (odbc_fetch_row($result))
00049         {
00050             $tablename = strtoupper(odbc_result($result, 'TABLE_NAME'));
00051             $this->tables[$tablename] = new ODBCTableInfo($this, $tablename);
00052         }
00053 
00054         @odbc_free_result($result);
00055     }


The documentation for this class was generated from the following file:

Generated on Wed May 6 23:10:50 2009 for fareofficelib by  doxygen 1.5.8