Core classSearch\Classes
SearchWidget
Helper for making search requests within the frontend. Can be accessed in templates using $_search
Methods 1
Take arguments. The API serialises only getters that need none.
-
#
search(?string $view, ?array $parameters) -
Response - Makes a search request and returns the search response. Returns the total count of records together with the matched records as search result items. If the request fails for any reason, an empty response is returned.
No members match the filter.