class SearchState
Properties
protected FilterInterface[] | $activeFilters |
Methods
void
setDefaultSort(array|Closure $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 46
array|Closure
getDefaultSort()
at
line 55
void
setDefaultSort(array|Closure $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>
at
line 60
bool
isFulltextSearch()
at
line 70
array
getActiveFilters()
<p>Get a list of the filters that are active.</p>