[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/xmlsitemap/ -> xmlsitemap.generate.inc (summary)

(no description)

File Size: 648 lines (22 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 21 functions

  xmlsitemap_get_path_alias()
  _xmlsitemap_regenerate_before()
  _xmlsitemap_memory_get_peak_usage()
  _xmlsitemap_get_memory_usage()
  _xmlsitemap_get_optimal_memory_limit()
  _xmlsitemap_set_memory_limit()
  _xmlsitemap_regenerate_after()
  xmlsitemap_generate()
  xmlsitemap_generate_chunk_header()
  xmlsitemap_generate_chunk()
  xmlsitemap_generate_index()
  xmlsitemap_regenerate_batch()
  xmlsitemap_regenerate_batch_generate()
  xmlsitemap_regenerate_batch_generate_index()
  xmlsitemap_regenerate_batch_finished()
  xmlsitemap_rebuild_batch()
  xmlsitemap_rebuild_batch_prerebuild()
  xmlsitemap_rebuild_batch_clear()
  xmlsitemap_rebuild_batch_fetch()
  xmlsitemap_rebuild_batch_finished()
  xmlsitemap_get_rebuildable_link_types()

Functions
Functions that are not part of a class:

xmlsitemap_get_path_alias($path, $language)   X-Ref
Given an internal Drupal path, return the alias for the path.

This is similar to drupal_get_path_alias(), but designed to fetch all alises
at once so that only one database query is executed instead of several or
possibly thousands during sitemap generation.

param: $path
param: $language

_xmlsitemap_regenerate_before()   X-Ref
Perform operations before rebuilding the sitemap.


_xmlsitemap_memory_get_peak_usage()   X-Ref
Wrapper function for memory_get_peak_usage() for PHP versions below 5.2.


_xmlsitemap_get_memory_usage($start = FALSE)   X-Ref
No description

_xmlsitemap_get_optimal_memory_limit()   X-Ref
Calculate the optimal PHP memory limit for sitemap generation.

This function just makes a guess. It does not take into account
the currently loaded modules.

_xmlsitemap_set_memory_limit($new_limit = NULL)   X-Ref
Calculate the optimal memory level for sitemap generation.

param: $new_limit

_xmlsitemap_regenerate_after()   X-Ref
Perform operations after rebuilding the sitemap.


xmlsitemap_generate(array $sitemap, $chunk)   X-Ref
Fetch the data from {xmlsitemap}, generates the sitemap, then caches it.

param: $sitemap
param: $chunk
return:

xmlsitemap_generate_chunk_header($type, array $sitemap, $handle, &$status)   X-Ref
Write the proper XML sitemap header.

param: $sitemap
param: $type
param: $handle
param: $status

xmlsitemap_generate_chunk(array $sitemap, $handle, &$status, $chunk)   X-Ref
Generate one page (chunk) of the sitemap.

param: $sitemap
param: $handle
param: $status
param: $chunk

xmlsitemap_generate_index(array $sitemap, $handle, &$status)   X-Ref
Generate the index sitemap.

param: $sitemap
param: $handle
param: $status

xmlsitemap_regenerate_batch(array $smids = array()   X-Ref
Batch information callback for regenerating the sitemap files.

param: $smids

xmlsitemap_regenerate_batch_generate($smid, array &$context)   X-Ref
Batch callback; generate all pages of a sitemap.


xmlsitemap_regenerate_batch_generate_index($smid, array &$context)   X-Ref
Batch callback; generate the index page of a sitemap.


xmlsitemap_regenerate_batch_finished($success, $results, $operations)   X-Ref
Batch callback; sitemap regeneration finished.


xmlsitemap_rebuild_batch(array $entities, $save_custom = FALSE)   X-Ref
Batch information callback for rebuilding the sitemap data.


xmlsitemap_rebuild_batch_prerebuild()   X-Ref
Batch callback; perform operations before rebuilding the sitemap data.


xmlsitemap_rebuild_batch_clear(array $entities, $save_custom, &$context)   X-Ref
Batch callback; clear sitemap links for entites.


xmlsitemap_rebuild_batch_fetch($entity, &$context)   X-Ref
Batch callback; fetch and add the sitemap links for a specific entity.


xmlsitemap_rebuild_batch_finished($success, $results, $operations)   X-Ref
Batch callback; sitemap rebuild finished.


xmlsitemap_get_rebuildable_link_types()   X-Ref
No description



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7