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. Other projects
Title Object type File name Summary
FetchModeTrait.php file core/lib/Drupal/Core/Database/FetchModeTrait.php
FetchModeTrait::$fetchModeLiterals property core/lib/Drupal/Core/Database/FetchModeTrait.php Map FETCH_* modes to their literal for inclusion in messages.
FetchModeTrait::$supportedFetchModes property core/lib/Drupal/Core/Database/FetchModeTrait.php The fetch modes supported.
FetchModeTrait::assocToClass function core/lib/Drupal/Core/Database/FetchModeTrait.php Converts a row of data in FETCH_ASSOC format to FETCH_CLASS.
FetchModeTrait::assocToColumn function core/lib/Drupal/Core/Database/FetchModeTrait.php Converts a row of data in FETCH_ASSOC format to FETCH_COLUMN.
FetchModeTrait::assocToNum function core/lib/Drupal/Core/Database/FetchModeTrait.php Converts a row of data in FETCH_ASSOC format to FETCH_NUM.
FetchModeTrait::assocToObj function core/lib/Drupal/Core/Database/FetchModeTrait.php Converts a row of data in FETCH_ASSOC format to FETCH_OBJ.
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::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::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
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.
NodeStatisticsDatabaseStorage::fetchAll function core/modules/statistics/src/NodeStatisticsDatabaseStorage.php
NodeStatisticsDatabaseStorage::fetchView function core/modules/statistics/src/NodeStatisticsDatabaseStorage.php
NodeStatisticsDatabaseStorage::fetchViews function core/modules/statistics/src/NodeStatisticsDatabaseStorage.php
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.
ProviderRepositoryTest::testSuccessfulFetch function core/modules/media/tests/src/Unit/ProviderRepositoryTest.php Tests that a successful fetch stores the provider database in key-value.
ResourceFetcher class core/modules/media/src/OEmbed/ResourceFetcher.php Fetches and caches oEmbed resources.
ResourceFetcher.php file core/modules/media/src/OEmbed/ResourceFetcher.php
ResourceFetcher::createResource function core/modules/media/src/OEmbed/ResourceFetcher.php Creates a Resource object from raw resource data.
ResourceFetcher::fetchResource function core/modules/media/src/OEmbed/ResourceFetcher.php
ResourceFetcher::parseResourceXml function core/modules/media/src/OEmbed/ResourceFetcher.php Parses XML resource data.
ResourceFetcher::__construct function core/modules/media/src/OEmbed/ResourceFetcher.php Constructs a ResourceFetcher object.
ResourceFetcherInterface interface core/modules/media/src/OEmbed/ResourceFetcherInterface.php Defines an interface for an oEmbed resource fetcher service.
ResourceFetcherInterface.php file core/modules/media/src/OEmbed/ResourceFetcherInterface.php
ResourceFetcherInterface::fetchResource function core/modules/media/src/OEmbed/ResourceFetcherInterface.php Fetches an oEmbed resource.
ResourceFetcherTest class core/modules/media/tests/src/Functional/ResourceFetcherTest.php Tests the oEmbed resource fetcher service.

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