SearchQuery

Type
Class
Namespace
Craft
Inherits
Craft\SearchQuery
Since
1.0

Search Query class.

See also http://craftcms.com

View source (opens new window)

# Public Methods

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

# __construct()

Signature

public Craft\SearchQuery __construct ( $query, $termOptions = [] )

# getQuery()

Signature

public string getQuery ( )

# getTokens()

Signature

public array getTokens ( )