AfterSearchResultSetsAreGeneratedEvent
FinalYes
Allows listeners to modify complete search result sets.
This event is dispatched in SearchController::searchAction() after all result sets have been created. Listeners can modify complete result sets, including pagination, rows, section data, and category metadata.
Table of Contents
Methods
- __construct() : mixed
- getRequest() : ServerRequestInterface
- getResultSets() : array<string|int, mixed>
- getSearchData() : array<string|int, mixed>
- getSearchWords() : array<string|int, mixed>
- getView() : ViewInterface
- setResultSets() : void
Methods
__construct()
public
__construct(array<string|int, mixed> $resultSets, array<string|int, mixed> $searchData, array<string|int, mixed> $searchWords, ViewInterface $view, ServerRequestInterface $request) : mixed
Parameters
- $resultSets : array<string|int, mixed>
- $searchData : array<string|int, mixed>
- $searchWords : array<string|int, mixed>
- $view : ViewInterface
- $request : ServerRequestInterface
getRequest()
public
getRequest() : ServerRequestInterface
Return values
ServerRequestInterfacegetResultSets()
public
getResultSets() : array<string|int, mixed>
Return values
array<string|int, mixed>getSearchData()
public
getSearchData() : array<string|int, mixed>
Return values
array<string|int, mixed>getSearchWords()
public
getSearchWords() : array<string|int, mixed>
Return values
array<string|int, mixed>getView()
public
getView() : ViewInterface
Return values
ViewInterfacesetResultSets()
public
setResultSets(array<string|int, mixed> $resultSets) : void
Parameters
- $resultSets : array<string|int, mixed>