Search for fetch

  1. Search 7.x for fetch
  2. Search 9.5.x for fetch
  3. Search 8.9.x for fetch
  4. Search 10.3.x for fetch
  5. Search 11.x for fetch
  6. Other projects
Title Object type File name Summary
FetchModeTrait::assocToFetchMode function core/lib/Drupal/Core/Database/FetchModeTrait.php Converts a row of data in associative format to a specified format.
FetchModeTrait::assocToNum function core/lib/Drupal/Core/Database/FetchModeTrait.php Converts a row of data in associative format to list.
FetchModeTrait::assocToObj function core/lib/Drupal/Core/Database/FetchModeTrait.php Converts a row of data in associative format to object.
FetchTest class core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Tests the Database system's various fetch capabilities.
FetchTest.php file core/tests/Drupal/KernelTests/Core/Database/FetchTest.php
FetchTest::testQueryFetchAllAssoc function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Tests ::fetchAllAssoc().
FetchTest::testQueryFetchAllColumn function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch all records into an array explicitly.
FetchTest::testQueryFetchArray function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record to an associative array explicitly.
FetchTest::testQueryFetchClass function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into a new instance of a custom class.
FetchTest::testQueryFetchCol function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch an entire column of a result set at once.
FetchTest::testQueryFetchColEdgeCases function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Tests ::fetchCol() for edge values returned.
FetchTest::testQueryFetchColIndexOutOfRange function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that an out of range index in fetchCol() throws an error.
FetchTest::testQueryFetchColIndexOutOfRangeOnEmptyResultSet function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms empty result set prevails on out of range index in fetchCol().
FetchTest::testQueryFetchColumn function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a single column value.
FetchTest::testQueryFetchColumnOutOfRange function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that an out of range index throws an error.
FetchTest::testQueryFetchDefault function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record properly in default object mode.
FetchTest::testQueryFetchField function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Tests ::fetchField().
FetchTest::testQueryFetchFieldEdgeCases function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Tests ::fetchField() for edge values returned.
FetchTest::testQueryFetchFieldIndexOutOfRange function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that an out of range index in fetchField() throws an error.
FetchTest::testQueryFetchFieldIndexOutOfRangeOnEmptyResultSet function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms empty result set prevails on out of range index in fetchField().
FetchTest::testQueryFetchNum function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into an indexed array explicitly.
FetchTest::testQueryFetchObject function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record to an object explicitly.
FetchTest::testQueryFetchObjectClass function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into a class using fetchObject.
FetchTest::testQueryFetchObjectClassNoConstructorArgs function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Confirms that we can fetch a record into a class without constructor args.
FetchTest::testRowCount function core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Tests that rowCount() throws exception on SELECT query.
FileCacheBackendInterface::fetch function core/lib/Drupal/Component/FileCache/FileCacheBackendInterface.php Fetches data from the cache backend.
locale.fetch.inc file core/modules/locale/locale.fetch.inc
LocaleFetch class core/modules/locale/src/LocaleFetch.php Provides the locale source services.
LocaleFetch.php file core/modules/locale/src/LocaleFetch.php
LocaleFetch::batchFetchBuild function core/modules/locale/src/LocaleFetch.php Builds a batch to download and import project translations.
LocaleFetch::batchUpdateBuild function core/modules/locale/src/LocaleFetch.php Builds a batch to check, download and import project translations.
LocaleFetch::fetchOperations function core/modules/locale/src/LocaleFetch.php Helper function to construct the batch operations to fetch translations.
LocaleFetch::__construct function core/modules/locale/src/LocaleFetch.php
locale_translation_batch_fetch_build function core/modules/locale/locale.fetch.inc Builds a batch to download and import project translations.
locale_translation_batch_fetch_download function core/modules/locale/locale.batch.inc Implements callback_batch_operation().
locale_translation_batch_fetch_finished function core/modules/locale/locale.batch.inc Implements callback_batch_finished().
locale_translation_batch_fetch_import function core/modules/locale/locale.batch.inc Implements callback_batch_operation().
media.oembed.resource_fetcher service core/modules/media/media.services.yml Drupal\media\OEmbed\ResourceFetcher
ModuleTest::testViewsFetchPluginNames function core/modules/views/tests/src/Kernel/ModuleTest.php Tests the \Drupal\views\Views::fetchPluginNames() method.
OEmbed::$resourceFetcher property core/modules/media/src/Plugin/media/Source/OEmbed.php The oEmbed resource fetcher service.
OEmbedForm::$resourceFetcher property core/modules/media_library/src/Form/OEmbedForm.php The oEmbed resource fetcher service.
OEmbedFormatter::$resourceFetcher property core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php The oEmbed resource fetcher.
OEmbedIframeController::$resourceFetcher property core/modules/media/src/Controller/OEmbedIframeController.php The oEmbed resource fetcher service.
OEmbedResourceConstraintValidator::$resourceFetcher property core/modules/media/src/Plugin/Validation/Constraint/OEmbedResourceConstraintValidator.php The resource fetcher service.
PackageManagerUpdateProcessor::processFetchTask function core/modules/package_manager/src/PackageManagerUpdateProcessor.php
PageCache::fetch function core/modules/page_cache/src/StackMiddleware/PageCache.php Fetches a response from the backend and stores it in the cache.
PdoResult::fetch function core/lib/Drupal/Core/Database/Statement/PdoResult.php
PdoResult::fetchAll function core/lib/Drupal/Core/Database/Statement/PdoResult.php
PdoResult::setFetchMode function core/lib/Drupal/Core/Database/Statement/PdoResult.php
PdoTrait::$fetchModeLiterals property core/lib/Drupal/Core/Database/Statement/PdoTrait.php Map FETCH_* modes to their literal for inclusion in messages.

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