public function SearchApiLiveResultsSearch::server in Search API live results 7
Return value
SearchApiServer The server this search would at the moment be executed on.
File
- ./
search_api_live_results.module, line 375
Class
- SearchApiLiveResultsSearch
- Class describing the settings for a certain search for which autocompletion is available.
Code
public function server() {
if (!isset($this->server)) {
if (!$this
->index() || !$this
->index()->server) {
$this->server = FALSE;
}
else {
$this->server = $this
->index()
->server();
if (!$this->server) {
$this->server = FALSE;
}
}
}
return $this->server;
}