abstract class AbstractQueryState
Properties
protected Builder | $query |
|
||
protected User | $actor |
|
||
protected mixed | $defaultSort |
|
Methods
mixed
setDefaultSort(mixed $defaultSort)
<p>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.</p>
Details
at
line 48
Builder
getQuery()
<p>Get the query builder for the search results query.</p>
at
line 68
array
getDefaultSort()
<p>Get the default sort order for the search.</p>
at
line 83
mixed
setDefaultSort(mixed $defaultSort)
<p>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.</p>