Search for fetch

  1. Search 7.x for fetch
  2. Search 8.9.x for fetch
  3. Search 10.3.x for fetch
  4. Search 11.x for fetch
  5. Other projects
Title Object type File name Summary
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.
SecurityAdvisoriesFetcher::isApplicable function core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php Determines if a security advisory is applicable for the current site.
SecurityAdvisoriesFetcher::matchesExistingVersion function core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php Determines if an advisory matches the existing version of a project.
SecurityAdvisoriesFetcher::__construct function core/modules/system/src/SecurityAdvisories/SecurityAdvisoriesFetcher.php Constructs a new SecurityAdvisoriesFetcher object.
SecurityAdvisoriesFetcherTest class core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php @coversDefaultClass \Drupal\system\SecurityAdvisories\SecurityAdvisoriesFetcher
SecurityAdvisoriesFetcherTest.php file core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php
SecurityAdvisoriesFetcherTest::$history property core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php History of requests/responses.
SecurityAdvisoriesFetcherTest::$logErrorMessages property core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php The log error log messages.
SecurityAdvisoriesFetcherTest::$modules property core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php Modules to enable.
SecurityAdvisoriesFetcherTest::$watchdogExceptionMessages property core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php The log messages from watchdog_exception.
SecurityAdvisoriesFetcherTest::assertServiceAdvisoryLoggedErrors function core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php Asserts the expected error messages were logged.
SecurityAdvisoriesFetcherTest::getAdvisories function core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php Gets the advisories from the 'system.sa_fetcher' service.
SecurityAdvisoriesFetcherTest::log function core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php
SecurityAdvisoriesFetcherTest::providerIgnoreAdvisories function core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php Data provider for testIgnoreAdvisories().
SecurityAdvisoriesFetcherTest::providerShowAdvisories function core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php Data provider for testShowAdvisories().
SecurityAdvisoriesFetcherTest::setExistingProjectVersion function core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php Sets the existing version of the project.
SecurityAdvisoriesFetcherTest::setFeedItems function core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php Sets the feed items to be returned for the test.
SecurityAdvisoriesFetcherTest::setTestFeedResponses function core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php Sets test feed responses.
SecurityAdvisoriesFetcherTest::setUp function core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php
SecurityAdvisoriesFetcherTest::testHttpFallback function core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php @covers ::doRequest
@covers ::getSecurityAdvisories
SecurityAdvisoriesFetcherTest::testIgnoreAdvisories function core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php Tests advisories that should be ignored.
SecurityAdvisoriesFetcherTest::testIntervalConfigUpdate function core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php Tests that the stored advisories response is deleted on interval decrease.
SecurityAdvisoriesFetcherTest::testInvalidJsonResponse function core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php Tests that invalid JSON feed responses are not stored.
SecurityAdvisoriesFetcherTest::testNoHttpFallback function core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php @covers ::doRequest
@covers ::getSecurityAdvisories
SecurityAdvisoriesFetcherTest::testShowAdvisories function core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php Tests contrib advisories that should be displayed.
SourcePluginBase::fetchNextRow function core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php Position the iterator to the following row.
SqlBase::fetchNextBatch function core/modules/migrate/src/Plugin/migrate/source/SqlBase.php Prepares query for the next set of data from the source database.
SqlBase::fetchNextRow function core/modules/migrate/src/Plugin/migrate/source/SqlBase.php Position the iterator to the following row.
Statement::fetchAll function core/lib/Drupal/Core/Database/Statement.php Returns an array containing all of the result set rows.
Statement::fetchAllAssoc function core/lib/Drupal/Core/Database/Statement.php Returns the result set as an associative array keyed by the given field.
Statement::fetchAllKeyed function core/lib/Drupal/Core/Database/Statement.php Returns the entire result set as a single associative array.
Statement::fetchAssoc function core/lib/Drupal/Core/Database/Statement.php Fetches the next row and returns it as an associative array.
Statement::fetchCol function core/lib/Drupal/Core/Database/Statement.php Returns an entire single column of a result set as an indexed array.
Statement::fetchField function core/lib/Drupal/Core/Database/Statement.php Returns a single field from the next record of a result set.
Statement::setFetchMode function core/lib/Drupal/Core/Database/Statement.php Sets the default fetch mode for this statement.
StatementEmpty::fetch function core/lib/Drupal/Core/Database/StatementEmpty.php Fetches the next row from a result set.
StatementEmpty::fetchAll function core/lib/Drupal/Core/Database/StatementEmpty.php Returns an array containing all of the result set rows.
StatementEmpty::fetchAllAssoc function core/lib/Drupal/Core/Database/StatementEmpty.php Returns the result set as an associative array keyed by the given field.
StatementEmpty::fetchAllKeyed function core/lib/Drupal/Core/Database/StatementEmpty.php Returns the entire result set as a single associative array.
StatementEmpty::fetchAssoc function core/lib/Drupal/Core/Database/StatementEmpty.php Fetches the next row and returns it as an associative array.
StatementEmpty::fetchCol function core/lib/Drupal/Core/Database/StatementEmpty.php Returns an entire single column of a result set as an indexed array.
StatementEmpty::fetchField function core/lib/Drupal/Core/Database/StatementEmpty.php Returns a single field from the next record of a result set.
StatementEmpty::fetchObject function core/lib/Drupal/Core/Database/StatementEmpty.php Fetches the next row and returns it as an object.
StatementEmpty::setFetchMode function core/lib/Drupal/Core/Database/StatementEmpty.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.

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