Search for fetchObject

  1. Search 7.x for fetchObject
  2. Search 8.9.x for fetchObject
  3. Search 10.3.x for fetchObject
  4. Search 11.x for fetchObject
  5. Other projects
Title Object type File name Summary
CommentStatisticsUnitTest::fetchObjectCallback function core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php Return value callback for fetchObject() function on mocked object.
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.
StatementEmpty::fetchObject function core/lib/Drupal/Core/Database/StatementEmpty.php Fetches the next row and returns it as an object.
StatementInterface::fetchObject function core/lib/Drupal/Core/Database/StatementInterface.php Fetches the next row and returns it as an object.
StatementPrefetch::fetchObject function core/lib/Drupal/Core/Database/StatementPrefetch.php Fetches the next row and returns it as an object.
StatementWrapper::fetchObject function core/lib/Drupal/Core/Database/StatementWrapper.php Fetches the next row and returns it as an object.

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