Search for fetch

  1. Search 9.5.x for fetch
  2. Search 8.9.x for fetch
  3. Search 10.3.x for fetch
  4. Search 11.x for fetch
  5. Other projects
Title Object type File name Summary
aggregator.fetcher.inc file modules/aggregator/aggregator.fetcher.inc Fetcher functions for the aggregator module.
aggregator_aggregator_fetch function modules/aggregator/aggregator.fetcher.inc Implements hook_aggregator_fetch().
aggregator_aggregator_fetch_info function modules/aggregator/aggregator.fetcher.inc Implements hook_aggregator_fetch_info().
ConnectionUnitTest::testOpenQueryPrefetchClose function modules/simpletest/tests/database_test.test Tests Database::closeConnection() with a query and custom prefetch method.
DatabaseEmptyStatementTestCase::testEmptyFetchAll function modules/simpletest/tests/database_test.test Test that the empty result set mass-fetches in an expected way.
DatabaseFetch2TestCase class modules/simpletest/tests/database_test.test Test fetch actions, part 2.
DatabaseFetch2TestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseFetch2TestCase::setUp function modules/simpletest/tests/database_test.test Sets up a Drupal site for running functional and integration tests.
DatabaseFetch2TestCase::testQueryFetchBoth function modules/simpletest/tests/database_test.test Confirm that we can fetch a record into a doubly-keyed array explicitly.
DatabaseFetch2TestCase::testQueryFetchCol function modules/simpletest/tests/database_test.test Confirm that we can fetch an entire column of a result set at once.
DatabaseFetch2TestCase::testQueryFetchNum function modules/simpletest/tests/database_test.test
DatabaseFetchTestCase class modules/simpletest/tests/database_test.test Test fetch actions, part 1.
DatabaseFetchTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseFetchTestCase::testQueryFetchArray function modules/simpletest/tests/database_test.test Confirm that we can fetch a record to an array associative explicitly.
DatabaseFetchTestCase::testQueryFetchClass function modules/simpletest/tests/database_test.test Confirm that we can fetch a record into a new instance of a custom class.
DatabaseFetchTestCase::testQueryFetchClasstype function modules/simpletest/tests/database_test.test Confirms that we can fetch a record into a new instance of a custom class.
The name of the class is determined from a value of the first column.
DatabaseFetchTestCase::testQueryFetchDefault function modules/simpletest/tests/database_test.test Confirm that we can fetch a record properly in default object mode.
DatabaseFetchTestCase::testQueryFetchObject function modules/simpletest/tests/database_test.test Confirm that we can fetch a record to an object explicitly.
DatabaseStatementBase::fetchAllAssoc function includes/database/database.inc Returns the result set as an associative array keyed by the given field.
DatabaseStatementBase::fetchAllKeyed function includes/database/database.inc Returns the entire result set as a single associative array.
DatabaseStatementBase::fetchAssoc function includes/database/database.inc Fetches the next row and returns it as an associative array.
DatabaseStatementBase::fetchCol function includes/database/database.inc Returns an entire single column of a result set as an indexed array.
DatabaseStatementBase::fetchField function includes/database/database.inc Returns a single field from the next record of a result set.
DatabaseStatementEmpty::fetch function includes/database/database.inc
DatabaseStatementEmpty::fetchAll function includes/database/database.inc
DatabaseStatementEmpty::fetchAllAssoc function includes/database/database.inc Returns the result set as an associative array keyed by the given field.
DatabaseStatementEmpty::fetchAllKeyed function includes/database/database.inc Returns the entire result set as a single associative array.
DatabaseStatementEmpty::fetchAssoc function includes/database/database.inc Fetches the next row and returns it as an associative array.
DatabaseStatementEmpty::fetchCol function includes/database/database.inc Returns an entire single column of a result set as an indexed array.
DatabaseStatementEmpty::fetchField function includes/database/database.inc Returns a single field from the next record of a result set.
DatabaseStatementEmpty::fetchObject function includes/database/database.inc
DatabaseStatementEmpty::setFetchMode function includes/database/database.inc
DatabaseStatementInterface::fetchAllAssoc function includes/database/database.inc Returns the result set as an associative array keyed by the given field.
DatabaseStatementInterface::fetchAllKeyed function includes/database/database.inc Returns the entire result set as a single associative array.
DatabaseStatementInterface::fetchAssoc function includes/database/database.inc Fetches the next row and returns it as an associative array.
DatabaseStatementInterface::fetchCol function includes/database/database.inc Returns an entire single column of a result set as an indexed array.
DatabaseStatementInterface::fetchField function includes/database/database.inc Returns a single field from the next record of a result set.
DatabaseStatementPrefetch class includes/database/prefetch.inc An implementation of DatabaseStatementInterface that prefetches all data.
DatabaseStatementPrefetch::$columnNames property includes/database/prefetch.inc The list of column names in this result set.
DatabaseStatementPrefetch::$currentKey property includes/database/prefetch.inc The key of the current row.
DatabaseStatementPrefetch::$currentRow property includes/database/prefetch.inc The current row, retrieved in PDO::FETCH_ASSOC format.
DatabaseStatementPrefetch::$data property includes/database/prefetch.inc Main data store.
DatabaseStatementPrefetch::$dbh property includes/database/prefetch.inc Reference to the database connection object for this statement.
DatabaseStatementPrefetch::$defaultFetchOptions property includes/database/prefetch.inc Holds supplementary default fetch options.
DatabaseStatementPrefetch::$defaultFetchStyle property includes/database/prefetch.inc Holds the default fetch style.
DatabaseStatementPrefetch::$driverOptions property includes/database/prefetch.inc Driver-specific options. Can be used by child classes.
DatabaseStatementPrefetch::$fetchOptions property includes/database/prefetch.inc Holds supplementary current fetch options (which will be used by the next fetch).
DatabaseStatementPrefetch::$fetchStyle property includes/database/prefetch.inc Holds the current fetch style (which will be used by the next fetch).
DatabaseStatementPrefetch::$queryString property includes/database/prefetch.inc The query string.
DatabaseStatementPrefetch::$resultRowCount property includes/database/prefetch.inc The number of rows in this result set.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.