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