| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 128 lignes (4 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Platform:: (12 méthodes):
getDatabaseType()
getNativeIdMethod()
getMaxColumnNameLength()
getDomainForType()
getNullString()
getAutoIncrement()
hasSize()
hasScale()
escapeText()
quoteIdentifier()
supportsNativeDeleteTrigger()
getBooleanString()
| getDatabaseType() X-Ref |
| Returns the short name of the database type that this platform represents. For example MysqlPlatform->getDatabaseType() returns 'mysql'. return: string |
| getNativeIdMethod() X-Ref |
| Returns the native IdMethod (sequence|identity) return: string The native IdMethod (Platform:IDENTITY, Platform::SEQUENCE). |
| getMaxColumnNameLength() X-Ref |
| Returns the max column length supported by the db. return: int The max column length |
| getDomainForType($creoleType) X-Ref |
| Returns the db specific domain for a jdbcType. param: string $creoleType the creole type name. return: Domain The db specific domain. |
| getNullString($notNull) X-Ref |
return: string The RDBMS-specific SQL fragment for <code>NULL</code> |
| getAutoIncrement() X-Ref |
return: The RDBMS-specific SQL fragment for autoincrement. |
| hasSize($sqlType) X-Ref |
| Returns if the RDBMS-specific SQL type has a size attribute. param: string $sqlType the SQL type return: boolean True if the type has a size attribute |
| hasScale($sqlType) X-Ref |
| Returns if the RDBMS-specific SQL type has a scale attribute. param: string $sqlType the SQL type return: boolean True if the type has a scale attribute |
| escapeText($text) X-Ref |
| Escape the string for RDBMS. param: string $text return: string |
| quoteIdentifier($text) X-Ref |
| Quotes identifiers used in database SQL. param: string $text return: string Quoted identifier. |
| supportsNativeDeleteTrigger() X-Ref |
| Whether RDBMS supports native ON DELETE triggers (e.g. ON DELETE CASCADE). return: boolean |
| getBooleanString($tf) X-Ref |
| Returns the boolean value for the RDBMS. This value should match the boolean value that is set when using Creole's PreparedStatement::setBoolean(). This function is used to set default column values when building SQL. param: mixed $tf A boolean or string representation of boolean ('y', 'true'). return: mixed |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |