You are here

public function SearchApiQuery::__clone in Search API 7

Implements the magic __clone() method to clone the filter, too.

File

includes/query.inc, line 834
Contains SearchApiQueryInterface and SearchApiQuery.

Class

SearchApiQuery
Provides a standard implementation of the SearchApiQueryInterface.

Code

public function __clone() {
  $this->filter = clone $this->filter;
}