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
PrefetchedResult class core/lib/Drupal/Core/Database/Statement/PrefetchedResult.php Class for prefetched results of a data query language (DQL) statement.
PrefetchedResult.php file core/lib/Drupal/Core/Database/Statement/PrefetchedResult.php
PrefetchedResult::$columnNames property core/lib/Drupal/Core/Database/Statement/PrefetchedResult.php The column names.
PrefetchedResult::$currentRowIndex property core/lib/Drupal/Core/Database/Statement/PrefetchedResult.php The current row index in the result set.
PrefetchedResult::fetch function core/lib/Drupal/Core/Database/Statement/PrefetchedResult.php Fetches the next row.
PrefetchedResult::fetchAllKeyed function core/lib/Drupal/Core/Database/Statement/PrefetchedResult.php Returns the entire result set as a single associative array.
PrefetchedResult::rowCount function core/lib/Drupal/Core/Database/Statement/PrefetchedResult.php Returns the number of rows matched by the last SQL statement.
PrefetchedResult::setFetchMode function core/lib/Drupal/Core/Database/Statement/PrefetchedResult.php Sets the default fetch mode for this result set.
PrefetchedResult::__construct function core/lib/Drupal/Core/Database/Statement/PrefetchedResult.php Constructor.
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 Fetches an oEmbed resource.
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/Unit/ResourceFetcherTest.php Tests Drupal\media\OEmbed\ResourceFetcher.
ResourceFetcherTest class core/modules/media/tests/src/Functional/ResourceFetcherTest.php Tests the oEmbed resource fetcher service.
ResourceFetcherTest.php file core/modules/media/tests/src/Unit/ResourceFetcherTest.php
ResourceFetcherTest.php file core/modules/media/tests/src/Functional/ResourceFetcherTest.php
ResourceFetcherTest::$defaultTheme property core/modules/media/tests/src/Functional/ResourceFetcherTest.php The theme to install as the default for testing.
ResourceFetcherTest::providerFetchResource function core/modules/media/tests/src/Functional/ResourceFetcherTest.php Data provider for testFetchResource().
ResourceFetcherTest::setUp function core/modules/media/tests/src/Functional/ResourceFetcherTest.php
ResourceFetcherTest::testFetchResource function core/modules/media/tests/src/Functional/ResourceFetcherTest.php Tests resource fetching.
ResourceFetcherTest::testFetchTimeout function core/modules/media/tests/src/Unit/ResourceFetcherTest.php Tests that resources are fetched with a hard-coded timeout.
ResourceFetcherTest::testUnknownContentTypeHeader function core/modules/media/tests/src/Unit/ResourceFetcherTest.php Tests how the resource fetcher handles unknown Content-Type headers.
Result::fetch function core/modules/mysqli/src/Driver/Database/mysqli/Result.php Fetches the next row.
Result::setFetchMode function core/modules/mysqli/src/Driver/Database/mysqli/Result.php Sets the default fetch mode for this result set.
ResultBase::fetch function core/lib/Drupal/Core/Database/Statement/ResultBase.php Fetches the next row.
ResultBase::fetchAll function core/lib/Drupal/Core/Database/Statement/ResultBase.php Returns an array containing all of the result set rows.
ResultBase::fetchAllAssoc function core/lib/Drupal/Core/Database/Statement/ResultBase.php Returns the result set as an associative array keyed by the given column.
ResultBase::fetchAllKeyed function core/lib/Drupal/Core/Database/Statement/ResultBase.php Returns the entire result set as a single associative array.
ResultBase::setFetchMode function core/lib/Drupal/Core/Database/Statement/ResultBase.php Sets the default fetch mode for this result set.
SecurityAdvisoriesFetcher class core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php Defines a service to get security advisories.
SecurityAdvisoriesFetcher.php file core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php
SecurityAdvisoriesFetcher::$config property core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php The 'system.advisories' configuration.
SecurityAdvisoriesFetcher::$extensionLists property core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php Array of extension lists, keyed by extension type.
SecurityAdvisoriesFetcher::$httpClient property core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php The HTTP client.
SecurityAdvisoriesFetcher::$keyValueExpirable property core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php The expirable key/value store for the advisories JSON response.
SecurityAdvisoriesFetcher::$logger property core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php The logger.
SecurityAdvisoriesFetcher::$withHttpFallback property core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php Whether to fall back to HTTP if the HTTPS request fails.
SecurityAdvisoriesFetcher::ADVISORIES_JSON_EXPIRABLE_KEY constant core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php The key to use to store the advisories feed response.
SecurityAdvisoriesFetcher::deleteStoredResponse function core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php Deletes the stored JSON feed response, if any.
SecurityAdvisoriesFetcher::doRequest function core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php Makes an HTTPS GET request, with a possible HTTP fallback.
SecurityAdvisoriesFetcher::getMatchingExtensionInfo function core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php Gets the information for an extension affected by the security advisory.
SecurityAdvisoriesFetcher::getProjectExistingVersion function core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php Gets the existing project version.
SecurityAdvisoriesFetcher::getSecurityAdvisories function core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php Gets security advisories that are applicable for the current site.

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