PHP Class Horde_Db_Adapter_MysqlBase, horde

Author: Mike Naberezny ([email protected])
Author: Derek DeVries ([email protected])
Author: Chuck Hagenbuch ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Db_Adapter_TestBase
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Méthode Description
setUpBeforeClass ( )
testAddColumnOptions ( )
testAddColumnOptionsDefault ( )
testAddColumnOptionsNotNull ( )
testAddColumnOptionsNull ( )
testBuildClause ( )
testChangeColumnLimit ( )
testChangeColumnPrecisionScale ( )
testChangeColumnType ( )
testChangeColumnUnsigned ( )
testColumnToSqlUnsigned ( )
testColumns ( )
testCreateTableWithSeparatePk ( )
testGetCharset ( )
testInsertAndReadInCp1257 ( )
testInterval ( )
testModifyDate ( )
testNativeDatabaseTypes ( )
testNativeDecimalInsertManualVsAutomatic ( ) We specifically do a manual INSERT here, and then test only the SELECT functionality. This allows us to more easily catch INSERT being broken, but SELECT actually working fine.
testNativeTypes ( )
testQuoteColumnName ( )
testQuoteDirtyString ( )
testQuoteFalse ( )
testQuoteFloat ( )
testQuoteInteger ( )
testQuoteNull ( ) *########################################################################## # Quoting ##########################################################################
testQuoteString ( )
testQuoteTrue ( )
testRenameColumn ( )
testSupportsCountDistinct ( )
testSupportsInterval ( )
testSupportsMigrations ( ) *########################################################################## # Accessor ##########################################################################
testTableAliasLength ( )
testTransactionCommit ( ) *########################################################################## # Database Statements ##########################################################################
testTransactionRollback ( )
testTypeToSqlBoolean ( )
testTypeToSqlDecimalPrecision ( )
testTypeToSqlDecimalScale ( )
testTypeToSqlInt ( )
testTypeToSqlIntLimit ( )
testTypeToSqlIntUnsigned ( )
testTypeToSqlTypeBinary ( )
testTypeToSqlTypeDatetime ( )
testTypeToSqlTypeFloat ( )
testTypeToSqlTypePrimaryKey ( )
testTypeToSqlTypeString ( )
testTypeToSqlTypeText ( )
testTypeToSqlTypeTimestamp ( )
testUnabstractedDatabaseDependentTypes ( )

Méthodes protégées

Méthode Description
_available ( )
_createTestTable ( $name, $options = [] ) Create table to perform tests on

Method Details

_available() protected static méthode

protected static _available ( )

_createTestTable() protected méthode

Create table to perform tests on
protected _createTestTable ( $name, $options = [] )

setUpBeforeClass() public static méthode

public static setUpBeforeClass ( )

testAddColumnOptions() public méthode

testAddColumnOptionsDefault() public méthode

testAddColumnOptionsNotNull() public méthode

testAddColumnOptionsNull() public méthode

testBuildClause() public méthode

public testBuildClause ( )

testChangeColumnLimit() public méthode

testChangeColumnPrecisionScale() public méthode

testChangeColumnType() public méthode

testChangeColumnUnsigned() public méthode

testColumnToSqlUnsigned() public méthode

testColumns() public méthode

public testColumns ( )

testCreateTableWithSeparatePk() public méthode

testGetCharset() public méthode

public testGetCharset ( )

testInsertAndReadInCp1257() public méthode

testInterval() public méthode

public testInterval ( )

testModifyDate() public méthode

public testModifyDate ( )

testNativeDatabaseTypes() public méthode

testNativeDecimalInsertManualVsAutomatic() public méthode

We specifically do a manual INSERT here, and then test only the SELECT functionality. This allows us to more easily catch INSERT being broken, but SELECT actually working fine.

testNativeTypes() public méthode

public testNativeTypes ( )

testQuoteColumnName() public méthode

public testQuoteColumnName ( )

testQuoteDirtyString() public méthode

testQuoteFalse() public méthode

public testQuoteFalse ( )

testQuoteFloat() public méthode

public testQuoteFloat ( )

testQuoteInteger() public méthode

public testQuoteInteger ( )

testQuoteNull() public méthode

*########################################################################## # Quoting ##########################################################################
public testQuoteNull ( )

testQuoteString() public méthode

public testQuoteString ( )

testQuoteTrue() public méthode

public testQuoteTrue ( )

testRenameColumn() public méthode

public testRenameColumn ( )

testSupportsCountDistinct() public méthode

testSupportsInterval() public méthode

testSupportsMigrations() public méthode

*########################################################################## # Accessor ##########################################################################

testTableAliasLength() public méthode

testTransactionCommit() public méthode

*########################################################################## # Database Statements ##########################################################################

testTransactionRollback() public méthode

testTypeToSqlBoolean() public méthode

testTypeToSqlDecimalPrecision() public méthode

testTypeToSqlDecimalScale() public méthode

testTypeToSqlInt() public méthode

public testTypeToSqlInt ( )

testTypeToSqlIntLimit() public méthode

testTypeToSqlIntUnsigned() public méthode

testTypeToSqlTypeBinary() public méthode

testTypeToSqlTypeDatetime() public méthode

testTypeToSqlTypeFloat() public méthode

testTypeToSqlTypePrimaryKey() public méthode

testTypeToSqlTypeString() public méthode

testTypeToSqlTypeText() public méthode

testTypeToSqlTypeTimestamp() public méthode

testUnabstractedDatabaseDependentTypes() public méthode