function _search_by_page_rebuild_all_paths in Search by Page 6
Same name and namespace in other branches
- 8 search_by_page.module \_search_by_page_rebuild_all_paths()
- 7 search_by_page.module \_search_by_page_rebuild_all_paths()
Internal function: rebuilds the paths table for all modules.
Calls all modules' hook_sbp_paths() implementations; each should return an array of Drupal paths to be indexed.
Parameters
$reset_items: TRUE if the last_index_time for items whose max_time has been exceeded should be reset. FALSE to leave it alone.
See also
search_by_page_rebuild_paths()
2 calls to _search_by_page_rebuild_all_paths()
- search_by_page_update_index in ./
search_by_page.module - Implementation of hook_update_index().
- _search_by_page_status_details in ./
search_by_page.module - Generates a detailed status listing for the Search status page.
1 string reference to '_search_by_page_rebuild_all_paths'
- search_by_page_admin_settings in ./
search_by_page.module - Returns the admin settings page for a single search environment.
File
- ./
search_by_page.module, line 1500 - Main module file for Drupal module Search by Page.
Code
function _search_by_page_rebuild_all_paths($reset_items = FALSE) {
$envs = search_by_page_list_environments();
foreach (module_implements('sbp_paths') as $module) {
foreach ($envs as $envid) {
search_by_page_rebuild_paths($module, $envid, $reset_items);
}
}
}