public function SearchApiLiveResultsSearch::index in Search API live results 7
Return value
SearchApiIndex The index this search belongs to.
1 call to SearchApiLiveResultsSearch::index()
File
- ./
search_api_live_results.module, line 361
Class
- SearchApiLiveResultsSearch
- Class describing the settings for a certain search for which autocompletion is available.
Code
public function index() {
if (!isset($this->index)) {
$this->index = search_api_index_load($this->index_id);
if (!$this->index) {
$this->index = FALSE;
}
}
return $this->index;
}