|
|
|
This "magic" method is invoked upon serialize(). Because the Info class hierarchy is recursive, we must handle the serialization and unserialization of this object. Returns array The class variables that should be serialized (all must be public!). |
|
This "magic" method is invoked upon unserialize(). This method re-hydrates the object and restores the recursive hierarchy. |
|
Loads the columns. Returns void Reimplemented in MSSQLTableInfo, MySQLTableInfo, and PgSQLTableInfo. |
|
Loads the primary key information for this table. Returns void Reimplemented in MSSQLTableInfo, MySQLTableInfo, and PgSQLTableInfo. |
|
Loads the foreign keys for this table. Returns void Reimplemented in MSSQLTableInfo, MySQLTableInfo, and PgSQLTableInfo. |
|
Loads the indexes information for this table. Returns void Reimplemented in MSSQLTableInfo, MySQLTableInfo, and PgSQLTableInfo. |
|
Get parimary key in this table. Returns mixed array ForeignKeyInfo[] on success, SQLException - if foreign keys are unsupported by DB. |
|
Get the ColumnInfo object for specified column.
Returns mixed ColumnInfo on success, SQLException if column does not exist for this table. |
|
Get array of columns for this table. Returns mixed array ColumnInfo[] on success, SQLException on failure. |
|
Get specified fk for this table.
Returns mixed ForeignKeyInfo on success or SQLException - if fkey does not exist for this table. |
|
Get all foreign keys. Returns mixed array ForeignKeyInfo[] on success, SQLException on failure. |
|
Gets the IndexInfo object for a specified index.
Returns mixed IndexInfo on success, SQLException - if index does not exist for this table. |
|
Get array of IndexInfo objects for this table. Returns mixed array IndexInfo[] on success, SQLException on failure. |
|
Alias for getIndexes() method. Returns array |
|
Get table name. Returns string |
|
Returns string |
|
Have foreign keys been loaded? |
|
Has primary key info been loaded? |
|
Have columns been loaded? |
|
Has index information been loaded? |
|
Adds a column to this table. |
|
Get the parent DatabaseInfo object. |
|
Reimplemented in OCI8TableInfo. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Shortcut to db resource link id (needed by drivers for queries). |
|
Shortcut to db name (needed by many drivers for queries). |
This file is part of the Creole[php4] library.
Copyright © 2004 Hans Lellelid |   |
Creole[php4] CVS
|