abstract class AbstractQueryState
Properties
| protected Builder | $query |
|
||
| protected User | $actor |
|
||
| protected mixed | $defaultSort |
|
Methods
mixed
setDefaultSort(mixed $defaultSort)
Set the default sort order for the search. This will only be applied if a sort order has not been specified in the search criteria.
Details
at
line 48
Builder
getQuery()
Get the query builder for the search results query.
at
line 68
array
getDefaultSort()
Get the default sort order for the search.
at
line 83
mixed
setDefaultSort(mixed $defaultSort)
Set the default sort order for the search. This will only be applied if a sort order has not been specified in the search criteria.