DatabaseInfo::__construct ( Connection $conn ) |
Reimplemented in MSSQLDatabaseInfo, and OCI8DatabaseInfo. |
string DatabaseInfo::getName ( ) |
Get name of database.
|
array DatabaseInfo::__sleep ( ) |
This method is invoked upon serialize(). Because the Info class hierarchy is recursive, we must handle the serialization and unserialization of this object.
|
DatabaseInfo::__wakeup ( ) |
This method is invoked upon unserialize(). This method re-hydrates the object and restores the recursive hierarchy. |
Connection DatabaseInfo::getConnection ( ) |
Returns Connection being used.
|
TableInfo DatabaseInfo::getTable ( $name ) |
Get the TableInfo object for specified table name.
|
array DatabaseInfo::getTables ( ) |
Gets array of TableInfo objects.
|
DatabaseInfo::addTable ( TableInfo $table ) |
Adds a table to this db. Table name is case-insensitive.
|
void DatabaseInfo::initTables
(
)
[protected, pure virtual]
|
Implemented in MSSQLDatabaseInfo, MySQLDatabaseInfo, OCI8DatabaseInfo, PgSQLDatabaseInfo, and SQLiteDatabaseInfo. |
void DatabaseInfo::initSequences
(
)
[protected, pure virtual]
|
Implemented in MSSQLDatabaseInfo, MySQLDatabaseInfo, OCI8DatabaseInfo, PgSQLDatabaseInfo, and SQLiteDatabaseInfo. |
boolean DatabaseInfo::isSequence ( $key ) |
|
array DatabaseInfo::getSequences ( ) |
Gets array of ? objects.
|
DatabaseInfo::$tables = array() [protected]
|
|
DatabaseInfo::$sequences = array() [protected]
|
|
DatabaseInfo::$tablesLoaded = false [protected]
|
have tables been loaded |
DatabaseInfo::$seqsLoaded = false [protected]
|
have sequences been loaded |
DatabaseInfo::$conn [protected]
|
|
DatabaseInfo::$dbname [protected]
|
Database name. |
DatabaseInfo::$dblink [protected]
|
|
This file is part of the Creole[php5] library.
Copyright © 2004 Hans Lellelid |   |
Creole[php5] CVS
|