Search for fetch

Classes

NameLocationDescription
DatabaseFetch2TestCasemodules/simpletest/tests/database_test.testTest fetch actions, part 2.
DatabaseFetchTestCasemodules/simpletest/tests/database_test.testTest fetch actions, part 1.
DatabaseStatementPrefetchincludes/database/prefetch.incAn implementation of DatabaseStatementInterface that prefetches all data.

Constants

NameLocationDescription
UPDATE_FETCH_PENDINGmodules/update/update.moduleWe need to (re)fetch available update data for this project.
UPDATE_MAX_FETCH_ATTEMPTSmodules/update/update.moduleMaximum number of attempts to fetch available update data from a given host.
UPDATE_MAX_FETCH_TIMEmodules/update/update.moduleMaximum number of seconds to try fetching available update data at a time.
UPDATE_NOT_FETCHEDmodules/update/update.moduleThere was a failure fetching available update data for this project.

Files

NameLocationDescription
modules/aggregator/aggregator.fetcher.incmodules/aggregator/aggregator.fetcher.incFetcher functions for the aggregator module.
includes/database/prefetch.incincludes/database/prefetch.incDatabase interface code for engines that need complete control over their result sets. For example, SQLite will prefix some column names by the name of the table. We post-process the data, by renaming the column names using the same convention as…
modules/update/update.fetch.incmodules/update/update.fetch.incCode required only when fetching information about available updates.

Functions & methods

NameLocationDescription
aggregator_aggregator_fetchmodules/aggregator/aggregator.fetcher.incImplements hook_aggregator_fetch().
aggregator_aggregator_fetch_infomodules/aggregator/aggregator.fetcher.incImplements hook_aggregator_fetch_info().
DatabaseEmptyStatementTestCase::testEmptyFetchAllmodules/simpletest/tests/database_test.testTest that the empty result set mass-fetches in an expected way.
DatabaseFetch2TestCase::getInfomodules/simpletest/tests/database_test.test
DatabaseFetch2TestCase::setUpmodules/simpletest/tests/database_test.testGenerates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
DatabaseFetch2TestCase::testQueryFetchBothmodules/simpletest/tests/database_test.testConfirm that we can fetch a record into a doubly-keyed array explicitly.
DatabaseFetch2TestCase::testQueryFetchColmodules/simpletest/tests/database_test.testConfirm that we can fetch an entire column of a result set at once.
DatabaseFetch2TestCase::testQueryFetchNummodules/simpletest/tests/database_test.test
DatabaseFetchTestCase::getInfomodules/simpletest/tests/database_test.test
DatabaseFetchTestCase::testQueryFetchArraymodules/simpletest/tests/database_test.testConfirm that we can fetch a record to an array associative explicitly.
DatabaseFetchTestCase::testQueryFetchClassmodules/simpletest/tests/database_test.testConfirm that we can fetch a record into a new instance of a custom class.
DatabaseFetchTestCase::testQueryFetchDefaultmodules/simpletest/tests/database_test.testConfirm that we can fetch a record properly in default object mode.
DatabaseFetchTestCase::testQueryFetchObjectmodules/simpletest/tests/database_test.testConfirm that we can fetch a record to an object explicitly.
DatabaseStatementBase::fetchAllAssocincludes/database/database.incReturns the result set as an associative array keyed by the given field.
DatabaseStatementBase::fetchAllKeyedincludes/database/database.incReturns the entire result set as a single associative array.
DatabaseStatementBase::fetchAssocincludes/database/database.incFetches the next row and returns it as an associative array.
DatabaseStatementBase::fetchColincludes/database/database.incReturns an entire single column of a result set as an indexed array.
DatabaseStatementBase::fetchFieldincludes/database/database.incReturns a single field from the next record of a result set.
DatabaseStatementEmpty::fetchincludes/database/database.inc
DatabaseStatementEmpty::fetchAllincludes/database/database.inc
DatabaseStatementEmpty::fetchAllAssocincludes/database/database.incReturns the result set as an associative array keyed by the given field.
DatabaseStatementEmpty::fetchAllKeyedincludes/database/database.incReturns the entire result set as a single associative array.
DatabaseStatementEmpty::fetchAssocincludes/database/database.incFetches the next row and returns it as an associative array.
DatabaseStatementEmpty::fetchColincludes/database/database.incReturns an entire single column of a result set as an indexed array.
DatabaseStatementEmpty::fetchFieldincludes/database/database.incReturns a single field from the next record of a result set.
DatabaseStatementEmpty::fetchObjectincludes/database/database.inc
DatabaseStatementEmpty::setFetchModeincludes/database/database.inc
DatabaseStatementInterface::fetchAllAssocincludes/database/database.incReturns the result set as an associative array keyed by the given field.
DatabaseStatementInterface::fetchAllKeyedincludes/database/database.incReturns the entire result set as a single associative array.
DatabaseStatementInterface::fetchAssocincludes/database/database.incFetches the next row and returns it as an associative array.
DatabaseStatementInterface::fetchColincludes/database/database.incReturns an entire single column of a result set as an indexed array.
DatabaseStatementInterface::fetchFieldincludes/database/database.incReturns a single field from the next record of a result set.
DatabaseStatementPrefetch::currentincludes/database/prefetch.incReturn the current row formatted according to the current fetch style.
DatabaseStatementPrefetch::executeincludes/database/prefetch.incExecutes a prepared statement.
DatabaseStatementPrefetch::fetchincludes/database/prefetch.inc
DatabaseStatementPrefetch::fetchAllincludes/database/prefetch.inc
DatabaseStatementPrefetch::fetchAllAssocincludes/database/prefetch.incReturns the result set as an associative array keyed by the given field.
DatabaseStatementPrefetch::fetchAllKeyedincludes/database/prefetch.incReturns the entire result set as a single associative array.
DatabaseStatementPrefetch::fetchAssocincludes/database/prefetch.incFetches the next row and returns it as an associative array.
DatabaseStatementPrefetch::fetchColincludes/database/prefetch.incReturns an entire single column of a result set as an indexed array.