| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 127 lignes (4 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
DatabaseMap:: (6 méthodes):
__construct()
containsTable()
getName()
getTable()
getTables()
addTable()
Classe: DatabaseMap - X-Ref
DatabaseMap is used to model a database.| __construct($name) X-Ref |
| Constructor. param: string $name Name of the database. |
| containsTable($name) X-Ref |
| Does this database contain this specific table? param: string $name The String representation of the table. return: boolean True if the database contains the table. |
| getName() X-Ref |
| Get the name of this database. return: string The name of the database. |
| getTable($name) X-Ref |
| Get a TableMap for the table by name. param: string $name Name of the table. return: TableMap A TableMap |
| getTables() X-Ref |
| Get a TableMap[] of all of the tables in the database. return: array A TableMap[]. |
| addTable($tableName) X-Ref |
| Add a new table to the database by name. It creates an empty TableMap that you need to populate. param: string $tableName The name of the table. return: TableMap The newly created TableMap. |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |