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()
Constructor
View source (opens new window)
Arguments
$query
(string (opens new window))$termOptions
(array (opens new window))
Returns
Signature
public Craft\SearchQuery __construct ( $query, $termOptions = [] )
# getQuery()
Signature
public string getQuery ( )
# getTokens()
Signature
public array getTokens ( )