[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
"Info" metadata class for a database.
Author: | Hans Lellelid <hans@xmpl.org> |
Version: | $Revision: 1.15 $ |
Poids: | 207 lignes (6 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
__construct(Connection $conn, $vendorInfo = array() X-Ref |
param: Connection $dbh |
getName() X-Ref |
Get name of database. return: string |
__sleep() X-Ref |
This method is invoked upon serialize(). Because the Info class hierarchy is recursive, we must handle the serialization and unserialization of this object. return: array The class variables that should be serialized (all must be public!). |
__wakeup() X-Ref |
This method is invoked upon unserialize(). This method re-hydrates the object and restores the recursive hierarchy. |
getConnection() X-Ref |
Returns Connection being used. return: Connection |
getTable($name) X-Ref |
Get the TableInfo object for specified table name. param: string $name The name of the table to retrieve. return: TableInfo |
hasTable($name) X-Ref |
Return whether database contains specified table. param: string $name The table name. return: boolean |
getTables() X-Ref |
Gets array of TableInfo objects. return: array TableInfo[] |
addTable(TableInfo $table) X-Ref |
Adds a table to this db. Table name is case-insensitive. param: TableInfo $table |
isSequence($key) X-Ref |
return: boolean |
getSequences() X-Ref |
Gets array of ? objects. return: array ?[] |
getVendorSpecificInfo() X-Ref |
Get vendor specific optional information for this primary key. return: array vendorSpecificInfo[] |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |