You are here

public function SearchApiAbstractProcessor::__construct in Search API 7

Constructor, saving its arguments into properties.

Overrides SearchApiProcessorInterface::__construct

2 calls to SearchApiAbstractProcessor::__construct()
SearchApiHighlight::__construct in includes/processor_highlight.inc
Constructor, saving its arguments into properties.
SearchApiHtmlFilter::__construct in includes/processor_html_filter.inc
Constructor, saving its arguments into properties.
2 methods override SearchApiAbstractProcessor::__construct()
SearchApiHighlight::__construct in includes/processor_highlight.inc
Constructor, saving its arguments into properties.
SearchApiHtmlFilter::__construct in includes/processor_html_filter.inc
Constructor, saving its arguments into properties.

File

includes/processor.inc, line 156
Contains SearchApiProcessorInterface and SearchApiAbstractProcessor.

Class

SearchApiAbstractProcessor
Abstract processor implementation that provides an easy framework for only processing specific fields.

Code

public function __construct(SearchApiIndex $index, array $options = array()) {
  $this->index = $index;
  $this->options = $options;
}