function search_api_saved_searches_settings_load in Search API Saved Searches 7
Loads a single settings object.
Parameters
int|string $id: The settings' identifier or delta.
bool $reset: If TRUE, will reset the internal entity cache.
Return value
SearchApiSavedSearchesSettings The requested entity, or FALSE if no settings for that ID exist.
6 calls to search_api_saved_searches_settings_load()
- SearchApiSavedSearch::settings in ./
search_api_saved_searches.search_entity.inc - SearchApiSavedSearchesViewsHandlerFieldInterval::render in views/
handler_field_saved_search_interval.inc - Overrides views_handler_field_time_interval::render().
- search_api_saved_searches_block_configure in ./
search_api_saved_searches.module - Implements hook_block_configure().
- search_api_saved_searches_block_view in ./
search_api_saved_searches.module - Implements hook_block_view().
- search_api_saved_searches_cron in ./
search_api_saved_searches.module - Implements hook_cron().
File
- ./
search_api_saved_searches.module, line 483 - Offers the ability to save searches and be notified of new results.
Code
function search_api_saved_searches_settings_load($id, $reset = FALSE) {
$ret = search_api_saved_searches_settings_load_multiple(array(
$id,
), array(), $reset);
return $ret ? reset($ret) : FALSE;
}