SearchQuery ​
- Type
- Class
- Namespace
- craft\search
- Inherits
- craft\search\SearchQuery
- Since
- 3.0.0
Search Query class.
Public Methods ​
Method | Description |
---|---|
__construct() | Constructor |
getQuery() | Returns the given query. |
getTokens() | Returns the tokens. |
__construct()
​
Constructor
Arguments ​
getQuery()
​
Returns the given query.
Returns ​
getTokens()
​
Returns the tokens.
Returns ​
(\craft\search\SearchQueryTerm|\craft\search\SearchQueryTermGroup)[]