function search_by_page_stored_page_content in Search by Page 7
Same name and namespace in other branches
- 8 search_by_page.module \search_by_page_stored_page_content()
Returns the stored content from the last indexing of a page.
Parameters
string $module: Name of the module for the path.
int $modid: ID of this path within this module.
int $environment: ID of the environment.
Return value
string The stored content from last indexing of the page.
3 calls to search_by_page_stored_page_content()
- sbp_nodes_sbp_details in ./
sbp_nodes.module - Implements Search by Page hook_sbp_details().
- sbp_paths_sbp_details in ./
sbp_paths.module - Implements Search by Page hook_sbp_details().
- sbp_users_sbp_details in ./
sbp_users.module - Implements Search by Page hook_sbp_details().
File
- ./
search_by_page.module, line 532 - Main module file for Drupal module Search by Page.
Code
function search_by_page_stored_page_content($module, $modid, $environment) {
return db_select('sbp_path', 'p')
->fields('p', array(
'page_data',
))
->condition('from_module', $module)
->condition('modid', $modid)
->condition('environment', $environment)
->execute()
->fetchField();
}