SearchQuery

Type
Class
Namespace
craft\search
Inherits
craft\search\SearchQuery
Since
3.0

Search Query class.

View source

Public Methods

MethodDescription
__construct()Constructor
getQuery()Returns the given query.
getTokens()Returns the tokens.

__construct()

Constructor

View source

Arguments

Signature

public void __construct ( \craft\search\string $query, array $termOptions = [] )

getQuery()

Returns the given query.

View source

Returns

string

Signature

public string getQuery ( )

getTokens()

Returns the tokens.

View source

Returns

array

Signature

public array getTokens ( )