You are here

23 calls to Database::getConnection() in Drupal 7

ConnectionUnitTest::setUp in modules/simpletest/tests/database_test.test
Sets up unit test environment.
ConnectionUnitTest::testOpenClose in modules/simpletest/tests/database_test.test
Tests Database::closeConnection() without query.
ConnectionUnitTest::testOpenQueryClose in modules/simpletest/tests/database_test.test
Tests Database::closeConnection() with a query.
ConnectionUnitTest::testOpenQueryPrefetchClose in modules/simpletest/tests/database_test.test
Tests Database::closeConnection() with a query and custom prefetch method.
ConnectionUnitTest::testOpenSelectQueryClose in modules/simpletest/tests/database_test.test
Tests Database::closeConnection() with a select query.
DatabaseConnectionTestCase::testConnectionClosing in modules/simpletest/tests/database_test.test
Tests the closing of a database connection.
DatabaseConnectionTestCase::testConnectionOptions in modules/simpletest/tests/database_test.test
Tests the connection options of the active database.
DatabaseConnectionTestCase::testConnectionRouting in modules/simpletest/tests/database_test.test
Test that connections return appropriate connection objects.
DatabaseConnectionTestCase::testConnectionRoutingOverride in modules/simpletest/tests/database_test.test
Test that connections return appropriate connection objects.
DatabaseSelectTestCase::testVulnerableComment in modules/simpletest/tests/database_test.test
Test query COMMENT system against vulnerabilities.
DatabaseTablePrefixTestCase::testSchemaDotTablePrefixes in modules/simpletest/tests/database_test.test
DatabaseTasks::connect in includes/install.inc
Check if we can connect to the database.
DatabaseTasks_pgsql::checkBinaryOutput in includes/database/pgsql/install.inc
Check Binary Output.
DatabaseTransactionTestCase::testTransactionStacking in modules/simpletest/tests/database_test.test
Test transaction stacking and commit / rollback.
DatabaseTransactionTestCase::transactionInnerLayer in modules/simpletest/tests/database_test.test
Helper method for transaction unit tests. This "inner layer" transaction is either used alone or nested inside of the "outer layer" transaction.
DatabaseTransactionTestCase::transactionOuterLayer in modules/simpletest/tests/database_test.test
Helper method for transaction unit test.
DrupalTestCase::getDatabaseConnection in modules/simpletest/drupal_web_test_case.php
Returns the database connection to the site running Simpletest.
DrupalWebTestCase::preloadRegistry in modules/simpletest/drupal_web_test_case.php
Preload the registry from the testing site.
install_system_module in includes/install.core.inc
Installation task; install the Drupal system module.
NodeMultiByteUtf8Test::testMultiByteUtf8 in modules/node/node.test
Tests that multi-byte UTF-8 characters are stored and retrieved correctly.
Query::__wakeup in includes/database/query.inc
Implements the magic __wakeup function to reconnect to the database.
system_requirements in modules/system/system.install
Implements hook_requirements().
_system_check_db_utf8mb4_requirements in modules/system/system.install
Checks whether the requirements for multi-byte UTF-8 support are met.