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
StatementBase::fetchAllAssoc function core/lib/Drupal/Core/Database/Statement/StatementBase.php Returns the result set as an associative array keyed by the given field.
StatementBase::fetchAllKeyed function core/lib/Drupal/Core/Database/Statement/StatementBase.php Returns the entire result set as a single associative array.
StatementBase::fetchAssoc function core/lib/Drupal/Core/Database/Statement/StatementBase.php Fetches the next row and returns it as an associative array.
StatementBase::fetchCol function core/lib/Drupal/Core/Database/Statement/StatementBase.php Returns an entire single column of a result set as an indexed array.
StatementBase::fetchField function core/lib/Drupal/Core/Database/Statement/StatementBase.php Returns a single field from the next record of a result set.
StatementBase::fetchObject function core/lib/Drupal/Core/Database/Statement/StatementBase.php Fetches the next row and returns it as an object.
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 field.
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 field 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::$columnNames property core/lib/Drupal/Core/Database/StatementPrefetchIterator.php The list of column names in this result set.
StatementPrefetchIterator::$data property core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Main data store.
StatementPrefetchIterator::$defaultFetchMode property core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Holds the default fetch mode.
StatementPrefetchIterator::$defaultFetchStyle property core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Holds the default fetch style.
StatementPrefetchIterator::$rowCount property core/lib/Drupal/Core/Database/StatementPrefetchIterator.php The number of rows matched by the last query.
StatementPrefetchIterator::execute function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php Executes a prepared statement.
StatementPrefetchIterator::fetchColumn function core/lib/Drupal/Core/Database/StatementPrefetchIterator.php
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.
StatementWrapperIterator::$defaultFetchMode property core/lib/Drupal/Core/Database/StatementWrapperIterator.php Holds the default fetch mode.
StaticFileCacheBackend::fetch function core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php Fetches data from the cache backend.
StatisticsStorageInterface::fetchAll function core/modules/statistics/src/StatisticsStorageInterface.php Returns the number of times an entity has been viewed.
StatisticsStorageInterface::fetchView function core/modules/statistics/src/StatisticsStorageInterface.php Returns the number of times a single entity has been viewed.
StatisticsStorageInterface::fetchViews function core/modules/statistics/src/StatisticsStorageInterface.php Returns the number of times entities have been viewed.
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
template_preprocess_system_security_advisories_fetch_error_message function core/modules/system/system.theme.inc Prepares variables for security advisories fetch error message templates.
template_preprocess_update_fetch_error_message function core/modules/update/update.report.inc Prepares variables for update 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

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