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
StatementBase::setFetchMode function core/lib/Drupal/Core/Database/Statement/StatementBase.php Sets the default fetch mode for this statement.
StatementInterface::fetch function core/lib/Drupal/Core/Database/StatementInterface.php Fetches the next row from a result set.
StatementInterface::fetchAll function core/lib/Drupal/Core/Database/StatementInterface.php Returns an array containing all of the result set rows.
StatementInterface::fetchAllAssoc function core/lib/Drupal/Core/Database/StatementInterface.php Returns the result set as an associative array keyed by the given column.
StatementInterface::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementInterface.php Returns the entire result set as a single associative array.
StatementInterface::fetchAssoc function core/lib/Drupal/Core/Database/StatementInterface.php Fetches the next row and returns it as an associative array.
StatementInterface::fetchCol function core/lib/Drupal/Core/Database/StatementInterface.php Returns an entire single column of a result set as an indexed array.
StatementInterface::fetchField function core/lib/Drupal/Core/Database/StatementInterface.php Returns a single column value from the next record of a result set.
StatementInterface::fetchObject function core/lib/Drupal/Core/Database/StatementInterface.php Fetches the next row and returns it as an object.
StatementInterface::setFetchMode function core/lib/Drupal/Core/Database/StatementInterface.php Sets the default fetch mode for this statement.
StatementIteratorTrait::markResultsetFetchingComplete function core/lib/Drupal/Core/Database/StatementIteratorTrait.php Informs the iterator that no more rows can be fetched from the resultset.
StatementPrefetchIterator class core/lib/Drupal/Core/Database/StatementPrefetchIterator.php An implementation of StatementInterface that prefetches all data.
StatementPrefetchIterator.php file core/lib/Drupal/Core/Database/StatementPrefetchIterator.php
StatementPrefetchIterator::execute function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Executes a prepared statement.
StatementPrefetchIterator::getClientStatement function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Returns the client-level database PDO statement object.
StatementPrefetchIterator::getStatement function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Grab a PDOStatement object from a given query and its arguments.
StatementPrefetchIterator::__construct function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Constructs a StatementPrefetchIterator object.
StatementTest::testIteratedStatementFetch function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement fetching after a full traversal.
StatementTest::testPartiallyIteratedStatementFetchAll function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement fetchAll after a partial traversal.
StatementTest::testPartiallyIteratedStatementFetchAllAssoc function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement fetchAllAssoc after a partial traversal.
StatementTest::testPartiallyIteratedStatementFetchAllKeyed function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement fetchAllKeyed after a partial traversal.
StatementTest::testPartiallyIteratedStatementFetchCol function core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests statement fetchCol after a partial traversal.
StaticFileCacheBackend::fetch function core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php Fetches data from the cache backend.
system-security-advisories-fetch-error-message.html.twig file core/themes/stable9/templates/admin/system-security-advisories-fetch-error-message.html.twig Theme override for the message when fetching security advisories fails.
system-security-advisories-fetch-error-message.html.twig file core/modules/system/templates/system-security-advisories-fetch-error-message.html.twig Default theme implementation for the message when fetching security advisories fails.
system.sa_fetcher service core/modules/system/system.services.yml Drupal\system\SecurityAdvisories\SecurityAdvisoriesFetcher
SystemAdminThemePreprocess::preprocessSystemSecurityAdvisoriesFetchErrorMessage function core/modules/system/src/Theme/SystemAdminThemePreprocess.php Prepares variables for security advisories fetch error message templates.
update-fetch-error-message.html.twig file core/themes/stable9/templates/admin/update-fetch-error-message.html.twig Default theme implementation for the message when fetching data fails.
update-fetch-error-message.html.twig file core/modules/update/templates/update-fetch-error-message.html.twig Default theme implementation for the message when fetching data fails.
update.fetch.inc file core/modules/update/update.fetch.inc
update.fetcher service core/modules/update/update.services.yml Drupal\update\UpdateFetcher
UpdateContribTest::testUpdateBrokenFetchURL function core/modules/update/tests/src/Functional/UpdateContribTest.php Makes sure that if we fetch from a broken URL, sane things happen.
UpdateFetcher class core/modules/update/src/UpdateFetcher.php Fetches project information from remote locations.
UpdateFetcher.php file core/modules/update/src/UpdateFetcher.php
UpdateFetcher::$fetchUrl property core/modules/update/src/UpdateFetcher.php The fetch URL configured in the update settings.
UpdateFetcher::$updateSettings property core/modules/update/src/UpdateFetcher.php The update settings.
UpdateFetcher::$withHttpFallback property core/modules/update/src/UpdateFetcher.php Whether to use HTTP fallback if HTTPS fails.
UpdateFetcher::buildFetchUrl function core/modules/update/src/UpdateFetcher.php Generates the URL to fetch information about project updates.
UpdateFetcher::doRequest function core/modules/update/src/UpdateFetcher.php Applies a GET request with a possible HTTP fallback.
UpdateFetcher::fetchProjectData function core/modules/update/src/UpdateFetcher.php Retrieves the project information.
UpdateFetcher::getFetchBaseUrl function core/modules/update/src/UpdateFetcher.php Returns the base of the URL to fetch available update data for a project.
UpdateFetcher::UPDATE_DEFAULT_URL constant core/modules/update/src/UpdateFetcher.php URL to check for updates, if a given project doesn't define its own.
UpdateFetcher::__construct function core/modules/update/src/UpdateFetcher.php
UpdateFetcherInterface interface core/modules/update/src/UpdateFetcherInterface.php Fetches project information from remote locations.
UpdateFetcherInterface.php file core/modules/update/src/UpdateFetcherInterface.php
UpdateFetcherInterface::buildFetchUrl function core/modules/update/src/UpdateFetcherInterface.php Generates the URL to fetch information about project updates.
UpdateFetcherInterface::fetchProjectData function core/modules/update/src/UpdateFetcherInterface.php Retrieves the project information.
UpdateFetcherInterface::FETCH_PENDING constant core/modules/update/src/UpdateFetcherInterface.php We need to (re)fetch available update data for this project.
UpdateFetcherInterface::getFetchBaseUrl function core/modules/update/src/UpdateFetcherInterface.php Returns the base of the URL to fetch available update data for a project.
UpdateFetcherInterface::NOT_CHECKED constant core/modules/update/src/UpdateFetcherInterface.php Project's status cannot be checked.

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