You are here

public function SearchApiAbstractService::__construct in Search API 7

Implements SearchApiServiceInterface::__construct().

The default implementation sets $this->server and $this->options.

Overrides SearchApiServiceInterface::__construct

File

includes/service.inc, line 302
Contains SearchApiServiceInterface and SearchApiAbstractService.

Class

SearchApiAbstractService
Abstract class with generic implementation of most service methods.

Code

public function __construct(SearchApiServer $server) {
  $this->server = $server;
  $this->options =& $server->options;
}