TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
LiveSearchController Class Reference

Public Member Functions

 liveSearchAction (ServerRequestInterface $request, ResponseInterface $response)
 

Protected Attributes

 $searchResults = array()
 

Detailed Description

Returns the results for any live searches, e.g. in the toolbar

Definition at line 26 of file LiveSearchController.php.

Member Function Documentation

liveSearchAction ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

Processes all AJAX calls and sends back a JSON object

Parameters
ServerRequestInterface$request
ResponseInterface$response
Returns
ResponseInterface

Definition at line 40 of file LiveSearchController.php.

References $response, LiveSearchController\$searchResults, MessageInterface\getBody(), ServerRequestInterface\getQueryParams(), and GeneralUtility\makeInstance().

Member Data Documentation

$searchResults = array()
protected

Definition at line 31 of file LiveSearchController.php.

Referenced by LiveSearchController\liveSearchAction().