LiveSearchController
Returns the results for any live searches, e.g. in the toolbar
This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.
Attributes
- #[AsController]
Table of Contents
Properties
Methods
- __construct() : mixed
- formAction() : ResponseInterface
- searchAction() : ResponseInterface
- Processes all AJAX calls and sends back a JSON object
Properties
$backendViewFactory read-only
protected
BackendViewFactory
$backendViewFactory
$searchService read-only
protected
SearchRepository
$searchService
Methods
__construct()
public
__construct(BackendViewFactory $backendViewFactory, SearchRepository $searchService) : mixed
Parameters
- $backendViewFactory : BackendViewFactory
- $searchService : SearchRepository
formAction()
public
formAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfacesearchAction()
Processes all AJAX calls and sends back a JSON object
public
searchAction(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface