[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/xmlsitemap/ -> xmlsitemap.module (summary)

(no description)

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

Defines 61 functions

  xmlsitemap_help()
  xmlsitemap_perm()
  xmlsitemap_sitemap_load()
  xmlsitemap_sitemap_load_multiple()
  xmlsitemap_sitemap_load_by_context()
  xmlsitemap_sitemap_save()
  xmlsitemap_sitemap_delete()
  xmlsitemap_sitemap_delete_multiple()
  xmlsitemap_sitemap_get_file()
  xmlsitemap_sitemap_uri()
  xmlsitemap_menu()
  xmlsitemap_cron()
  xmlsitemap_form_system_modules_alter()
  xmlsitemap_system_modules_submit()
  xmlsitemap_robotstxt()
  xmlsitemap_get_changefreq()
  xmlsitemap_get_chunk_count()
  xmlsitemap_get_link_count()
  xmlsitemap_get_chunk_size()
  xmlsitemap_recalculate_changefreq()
  xmlsitemap_calculate_changefreq()
  _xmlsitemap_check_changed_links()
  _xmlsitemap_check_changed_link()
  xmlsitemap_link_load()
  xmlsitemap_link_load_multiple()
  xmlsitemap_link_save()
  xmlsitemap_link_update_multiple()
  xmlsitemap_link_delete()
  xmlsitemap_link_delete_multiple()
  xmlsitemap_form_submit_flag_regenerate()
  xmlsitemap_variables()
  xmlsitemap_var()
  xmlsitemap_switch_user()
  xmlsitemap_restore_user()
  xmlsitemap_process_form_link_options()
  xmlsitemap_get_changefreq_options()
  xmlsitemap_get_link_info()
  xmlsitemap_get_directory()
  xmlsitemap_check_directory()
  xmlsitemap_clear_directory()
  _xmlsitemap_delete_recursive()
  xmlsitemap_language_load()
  xmlsitemap_get_link_type_enabled_bundles()
  xmlsitemap_get_link_type_indexed_status()
  xmlsitemap_link_bundle_settings_save()
  xmlsitemap_link_bundle_rename()
  xmlsitemap_link_bundle_load()
  xmlsitemap_link_bundle_delete()
  xmlsitemap_can_admin_bundle()
  xmlsitemap_get_bundle_path()
  xmlsitemap_get_context_info()
  xmlsitemap_get_current_context()
  xmlsitemap_run_progressive_batch()
  _xmlsitemap_sitemap_context_summary()
  _xmlsitemap_set_breadcrumb()
  xmlsitemap_static_reset()
  xmlsitemap_static()
  xmlsitemap_sitemap_get_all_smids()
  _xmlsitemap_get_field_type()
  xmlsitemap_load_all_includes()
  xmlsitemap_element_get_visible_children()

Functions
Functions that are not part of a class:

xmlsitemap_help($path, $arg)   X-Ref
Implements hook_help().


xmlsitemap_perm()   X-Ref
Implements hook_perm().


xmlsitemap_sitemap_load($smid)   X-Ref
Load an XML sitemap array from the database.

param: $smid

xmlsitemap_sitemap_load_multiple(array $smids)   X-Ref
Load multiple XML sitemaps from the database.

param: $smids

xmlsitemap_sitemap_load_by_context(array $context = NULL)   X-Ref
Load an XML sitemap array from the database based on its context.

param: $context

xmlsitemap_sitemap_save(array $sitemap)   X-Ref
Save changes to an XML sitemap or add a new XML sitemap.

param: $sitemap

xmlsitemap_sitemap_delete($smid)   X-Ref
Delete an XML sitemap.

param: $smid

xmlsitemap_sitemap_delete_multiple(array $smids)   X-Ref
Delete multiple XML sitemaps.

param: $smids

xmlsitemap_sitemap_get_file(array $sitemap, $chunk = 'index')   X-Ref
Return the expected file path for a specific sitemap chunk.

param: $sitemap
param: $chunk

xmlsitemap_sitemap_uri(array $sitemap)   X-Ref
Returns the uri elements of an XML sitemap.

param: $sitemap
return:

xmlsitemap_menu()   X-Ref
Implements hook_menu().


xmlsitemap_cron()   X-Ref
Implements hook_cron().


xmlsitemap_form_system_modules_alter(&$form, $form_state)   X-Ref
Implements hook_form_FORM_ID_alter().

Add a submit handler to manually clear any XML sitemap cache entries.

xmlsitemap_system_modules_submit($form, $form_state)   X-Ref
Submit callback; manually clears XML sitemap caches when modules are changed.


xmlsitemap_robotstxt()   X-Ref
Implements hook_robotstxt().


xmlsitemap_get_changefreq($interval)   X-Ref
Determine the frequency of updates to a link.

param: $interval
return:

xmlsitemap_get_chunk_count($reset = FALSE)   X-Ref
Get the current number of sitemap chunks.


xmlsitemap_get_link_count($reset = FALSE)   X-Ref
Get the current number of sitemap links.


xmlsitemap_get_chunk_size($reset = FALSE)   X-Ref
Get the sitemap chunk size.

This function is useful with the chunk size is set to automatic as it will
calculate the appropriate value. Use this function instead of @code
xmlsitemap_var('chunk_size') @endcode when the actual value is needed.

param: $reset
return:

xmlsitemap_recalculate_changefreq(&$link)   X-Ref
Recalculate the changefreq of a sitemap link.

param: $link

xmlsitemap_calculate_changefreq($timestamps)   X-Ref
Calculates the average interval between UNIX timestamps.

param: $timestamps
return:

_xmlsitemap_check_changed_links(array $conditions = array()   X-Ref
Check if there is a visible sitemap link given a certain set of conditions.

param: $conditions
param: $flag
return:

_xmlsitemap_check_changed_link(array $link, $original_link = NULL, $flag = FALSE)   X-Ref
Check if there is sitemap link is changed from the existing data.

param: $link
param: $original_link
param: $flag
return:

xmlsitemap_link_load($entity_type, $entity_id)   X-Ref
Load a specific sitemap link from the database.

param: $entity_type
param: $entity_id
return:

xmlsitemap_link_load_multiple(array $conditions = array()   X-Ref
Load sitemap links from the database.

param: $conditions
return:

xmlsitemap_link_save(array $link)   X-Ref
Saves or updates a sitemap link.

param: $link

xmlsitemap_link_update_multiple($updates = array()   X-Ref
Perform a mass update of sitemap data.

If visible links are updated, this will automatically set the regenerate
needed flag to TRUE.

param: $updates
param: $conditions
return:

xmlsitemap_link_delete($entity_type, $entity_id)   X-Ref
Delete a specific sitemap link from the database.

If a visible sitemap link was deleted, this will automatically set the
regenerate needed flag.

param: $entity_type
param: $entity_id
return:

xmlsitemap_link_delete_multiple(array $conditions)   X-Ref
Delete multiple sitemap links from the database.

If visible sitemap links were deleted, this will automatically set the
regenerate needed flag.

param: $conditions
return:

xmlsitemap_form_submit_flag_regenerate($form, $form_state)   X-Ref
Submit handler; Set the regenerate needed flag if variables have changed.

This function needs to be called before system_settings_form_submit() or any
calls to variable_set().

xmlsitemap_variables()   X-Ref
Internal default variables for xmlsitemap_var().


xmlsitemap_var($name, $default = NULL)   X-Ref
Internal implementation of variable_get().


xmlsitemap_switch_user($new_user = NULL)   X-Ref
Set the current user stored in $GLOBALS['user'].


xmlsitemap_restore_user()   X-Ref
Restore the user that was originally loaded.

return:

xmlsitemap_process_form_link_options($form, &$form_state)   X-Ref
No description

xmlsitemap_get_changefreq_options()   X-Ref


xmlsitemap_get_link_info($type = NULL, $reset = FALSE)   X-Ref
Returns information about supported sitemap link types.

param: $type
param: $reset

xmlsitemap_get_directory(array $sitemap = NULL)   X-Ref
No description

xmlsitemap_check_directory(array $sitemap = NULL)   X-Ref
Check that the sitemap files directory exists and is writable.


xmlsitemap_clear_directory(array $sitemap = NULL, $delete = FALSE)   X-Ref
No description

_xmlsitemap_delete_recursive($path, $delete_root = FALSE)   X-Ref
Recursively delete all files and folders in the specified filepath.

This is a backport of Drupal 7's file_unmanaged_delete_recursive().

Note that this only deletes visible files with write permission.

param: $path
param: $delete_root

xmlsitemap_language_load($language = '')   X-Ref
Load a language object by its language code.

param: $language
return:

xmlsitemap_get_link_type_enabled_bundles($entity_type)   X-Ref
No description

xmlsitemap_get_link_type_indexed_status($entity_type, $bundle = '')   X-Ref
No description

xmlsitemap_link_bundle_settings_save($entity, $bundle, array $settings, $update_links = TRUE)   X-Ref
No description

xmlsitemap_link_bundle_rename($entity, $bundle_old, $bundle_new)   X-Ref
No description

xmlsitemap_link_bundle_load($entity, $bundle)   X-Ref
No description

xmlsitemap_link_bundle_delete($entity, $bundle, $delete_links = TRUE)   X-Ref
No description

xmlsitemap_can_admin_bundle($entity, $bundle)   X-Ref
No description

xmlsitemap_get_bundle_path($entity, $bundle)   X-Ref
No description

xmlsitemap_get_context_info($context = NULL, $reset = FALSE)   X-Ref
No description

xmlsitemap_get_current_context()   X-Ref
Get the sitemap context of the current request.


xmlsitemap_run_progressive_batch()   X-Ref
Run a progressive batch operation.


_xmlsitemap_sitemap_context_summary(array $sitemap, $context_key, array $context_info)   X-Ref
No description

_xmlsitemap_set_breadcrumb($path = 'admin/settings/xmlsitemap')   X-Ref
Workaround for missing breadcrumbs on callback and action paths.


xmlsitemap_static_reset($name = NULL)   X-Ref
No description

xmlsitemap_static($name, $default_value = NULL, $reset = FALSE)   X-Ref
No description

xmlsitemap_sitemap_get_all_smids()   X-Ref
No description

_xmlsitemap_get_field_type($table, $field)   X-Ref
Given an table and field, return the field type.

param: $table
param: $field
return:

xmlsitemap_load_all_includes()   X-Ref
Load all modulename.xmlsitemap.inc files.

Instead of blindly running on all modules like module_load_all_includes(),
this function will cache which modules actually have those files, which
benefits performance.

xmlsitemap_element_get_visible_children(array $elements)   X-Ref
Backport of element_get_visible_children() from Drupal 7.




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