| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 206 lignes (6 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
AppData:: (10 méthodes):
__construct()
setName()
getName()
getShortName()
getDatabases()
hasMultipleDatabases()
getDatabase()
addDatabase()
doFinalInitialization()
toString()
| __construct(Platform $platform) X-Ref |
| Creates a new instance for the specified database type. param: Platform $platform The platform class to use for any databases added to this application model. |
| setName($name) X-Ref |
| Set the name of the database. param: name of the database. |
| getName() X-Ref |
| Get the name of the database. return: String name |
| getShortName() X-Ref |
| Get the short name of the database (without the '-schema' postfix). return: String name |
| getDatabases($doFinalInit = true) X-Ref |
| Return an array of all databases return: Array of Database objects |
| hasMultipleDatabases() X-Ref |
| Returns whether this application has multiple databases. return: boolean True if the application has multiple databases |
| getDatabase($name = null, $doFinalInit = true) X-Ref |
| Return the database with the specified name. param: name database name return: A Database object. If it does not exist it returns null |
| addDatabase($db) X-Ref |
| Add a database to the list and sets the AppData property to this AppData param: db the database to add |
| doFinalInitialization() X-Ref |
return: void |
| toString() X-Ref |
| Creats a string representation of this AppData. The representation is given in xml format. return: string Representation in xml format |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |