You are here

function search_api_saved_search_load_multiple in Search API Saved Searches 7

Loads multiple saved search objects.

Parameters

int[]|false $ids: The saved search's IDs; or FALSE to load all saved searches.

array $conditions: Associative array of field => value conditions that returned objects must satisfy.

bool $reset: If TRUE, will reset the internal entity cache.

Return value

SearchApiSavedSearch[] All saved searches matching the conditions, keyed by their IDs.

9 calls to search_api_saved_search_load_multiple()
search_api_saved_searches_check_updates in ./search_api_saved_searches.module
Checks for new results for saved searches, and sends a mail if necessary.
search_api_saved_searches_cron in ./search_api_saved_searches.module
Implements hook_cron().
search_api_saved_searches_save_form_submit in ./search_api_saved_searches.module
Form validation handler for search_api_saved_searches_save_form().
search_api_saved_searches_search_api_saved_searches_settings_delete in ./search_api_saved_searches.module
Implements hook_search_api_saved_searches_settings_delete().
search_api_saved_searches_search_api_saved_searches_settings_update in ./search_api_saved_searches.module
Implements hook_search_api_saved_searches_settings_update().

... See full list

File

./search_api_saved_searches.module, line 537
Offers the ability to save searches and be notified of new results.

Code

function search_api_saved_search_load_multiple($ids = FALSE, array $conditions = array(), $reset = FALSE) {
  return entity_load('search_api_saved_search', $ids, $conditions, $reset);
}