You are here

function xmlsitemap_db_fetch_col in XML sitemap 6.2

Backport of the DBTNG fetchCol() from Drupal 7.

8 calls to xmlsitemap_db_fetch_col()
xmlsitemap_menu_xmlsitemap_index_links in xmlsitemap_menu/xmlsitemap_menu.module
Implements hook_xmlsitemap_index_links().
xmlsitemap_node_get_timestamps in xmlsitemap_node/xmlsitemap_node.module
Fetch all the timestamps for when a node was changed.
xmlsitemap_node_xmlsitemap_index_links in xmlsitemap_node/xmlsitemap_node.module
Implements hook_xmlsitemap_index_links().
xmlsitemap_rebuild_batch_fetch in ./xmlsitemap.generate.inc
Batch callback; fetch and add the sitemap links for a specific entity.
xmlsitemap_regenerate_batch in ./xmlsitemap.generate.inc
Batch information callback for regenerating the sitemap files.

... See full list

File

./xmlsitemap.module, line 1650
Main file for the xmlsitemap module.

Code

function xmlsitemap_db_fetch_col($query) {
  $row = array();
  while ($result = db_result($query)) {
    $row[] = $result;
  }
  return $row;
}