SearchQueryTerm ​
- Type
- Class
- Namespace
- craft\search
- Inherits
- craft\search\SearchQueryTerm » yii\base\BaseObject
- Implements
- yii\base\Configurable
- Since
- 3.0.0
Search Query Term class Represents a term in the search query.
Public Properties ​
Property | Description |
---|---|
attribute | null |
exact | boolean |
exclude | boolean |
phrase | boolean, null |
subLeft | boolean |
subRight | boolean |
term | null |
attribute
​
- Type
- null
- Default value
null
exact
​
- Type
- boolean
- Default value
false
exclude
​
- Type
- boolean
- Default value
false
phrase
​
subLeft
​
- Type
- boolean
- Default value
false
subRight
​
- Type
- boolean
- Default value
true
term
​
- Type
- null
- Default value
null
Public Methods ​
Method | Description |
---|---|
__call() | Calls the named method which is not a class method. |
__construct() | Constructor. |
__get() | Returns the value of an object property. |
__isset() | Checks if a property is set, i.e. defined and not null. |
__set() | Sets value of an object property. |
__unset() | Sets an object property to null. |
canGetProperty() | Returns a value indicating whether a property can be read. |
canSetProperty() | Returns a value indicating whether a property can be set. |
className() | Returns the fully qualified name of this class. |
hasMethod() | Returns a value indicating whether a method is defined. |
hasProperty() | Returns a value indicating whether a property is defined. |
init() | Initializes the object. |