You are here

function apachesolr_search_page_load in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 apachesolr_search.module \apachesolr_search_page_load()
  2. 6.3 apachesolr_search.module \apachesolr_search_page_load()

Load a search page

Parameters

string $page_id:

Return value

array

14 calls to apachesolr_search_page_load()
apachesolr_search_apachesolr_default_environment in ./apachesolr_search.module
Implements hook_apachesolr_default_environment()
apachesolr_search_conditions in ./apachesolr_search.module
Implementation of a search_view() conditions callback.
apachesolr_search_custom_page in ./apachesolr_search.pages.inc
Returns search results on user defined search pages.
apachesolr_search_enable in ./apachesolr_search.install
Implements hook_enable().
apachesolr_search_get_taxonomy_term_title in ./apachesolr_search.module
Title callback function to generate a title for the taxonomy term.

... See full list

File

./apachesolr_search.module, line 415
Provides a content search implementation for node content for use with the Apache Solr search application.

Code

function apachesolr_search_page_load($page_id) {
  $search_pages = apachesolr_search_load_all_search_pages();
  if (!empty($search_pages[$page_id])) {
    return $search_pages[$page_id];
  }
  return FALSE;
}