SearchQuery

Type
Class
Namespace
Craft
Inherits
Craft\SearchQuery
Since
1.0

Search Query class.

See also http://craftcms.com

View source

Public Methods

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

__construct()

Constructor

View source

Arguments

Returns

Craft\SearchQuery

Signature

public Craft\SearchQuery __construct ( $query, $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 ( )