[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 460 lignes (14 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Database:: (29 méthodes):
setupObject()
getPlatform()
setPlatform()
getName()
setName()
getPackage()
setPackage()
getBaseClass()
setBaseClass()
getBasePeer()
setBasePeer()
getDefaultIdMethod()
setDefaultIdMethod()
getDefaultPhpNamingMethod()
setDefaultPhpNamingMethod()
getDefaultTranslateMethod()
setDefaultTranslateMethod()
isHeavyIndexing()
setHeavyIndexing()
getTables()
getTable()
getTableByPhpName()
addTable()
setAppData()
getAppData()
addDomain()
getDomain()
doFinalInitialization()
toString()
setupObject() X-Ref |
Sets up the Database object based on the attributes that were passed to loadFromXML(). |
getPlatform() X-Ref |
Returns the Platform implementation for this database. return: Platform a Platform implementation |
setPlatform($platform) X-Ref |
Sets the Platform implementation for this database. param: Platform $platform A Platform implementation |
getName() X-Ref |
Get the name of the Database |
setName($name) X-Ref |
Set the name of the Database |
getPackage() X-Ref |
Get the value of package. return: value of package. |
setPackage($v) X-Ref |
Set the value of package. param: v Value to assign to package. |
getBaseClass() X-Ref |
Get the value of baseClass. return: value of baseClass. |
setBaseClass($v) X-Ref |
Set the value of baseClass. param: v Value to assign to baseClass. |
getBasePeer() X-Ref |
Get the value of basePeer. return: value of basePeer. |
setBasePeer($v) X-Ref |
Set the value of basePeer. param: v Value to assign to basePeer. |
getDefaultIdMethod() X-Ref |
Get the value of defaultIdMethod. return: value of defaultIdMethod. |
setDefaultIdMethod($v) X-Ref |
Set the value of defaultIdMethod. param: v Value to assign to defaultIdMethod. |
getDefaultPhpNamingMethod() X-Ref |
Get the value of defaultPHPNamingMethod which specifies the method for converting schema names for table and column to PHP names. return: string The default naming conversion used by this database. |
setDefaultPhpNamingMethod($v) X-Ref |
Set the value of defaultPHPNamingMethod. param: string $v The default naming conversion for this database to use. |
getDefaultTranslateMethod() X-Ref |
Get the value of defaultTranslateMethod which specifies the method for translate validator error messages. return: string The default translate method. |
setDefaultTranslateMethod($v) X-Ref |
Set the value of defaultTranslateMethod. param: string $v The default translate method to use. |
isHeavyIndexing() X-Ref |
Get the value of heavyIndexing. return: boolean Value of heavyIndexing. |
setHeavyIndexing($v) X-Ref |
Set the value of heavyIndexing. param: boolean $v Value to assign to heavyIndexing. |
getTables() X-Ref |
Return an array of all tables |
getTable($name) X-Ref |
Return the table with the specified name. param: string $name The name of the table (e.g. 'my_table') return: Table a Table object or null if it doesn't exist |
getTableByPhpName($phpName) X-Ref |
Return the table with the specified phpName. param: string $phpName the PHP Name of the table (e.g. 'MyTable') return: Table a Table object or null if it doesn't exist |
addTable($data) X-Ref |
An utility method to add a new table from an xml attribute. |
setAppData(AppData $parent) X-Ref |
Set the parent of the database |
getAppData() X-Ref |
Get the parent of the table |
addDomain($data) X-Ref |
Adds Domain object from <domain> tag. param: mixed XML attributes (array) or Domain object. |
getDomain($domainName) X-Ref |
Get already configured Domain object by name. return: Domain |
doFinalInitialization() X-Ref |
Pas de description |
toString() X-Ref |
Creats a string representation of this Database. The representation is given in xml format. |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |