TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Backend\Controller\LiveSearchController Class Reference

Public Member Functions

 liveSearchAction (ServerRequestInterface $request, ResponseInterface $response)
 

Protected Attributes

 $searchResults = []
 

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()

TYPO3\CMS\Backend\Controller\LiveSearchController::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 TYPO3\CMS\Backend\Controller\LiveSearchController\$searchResults, and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Member Data Documentation

◆ $searchResults

TYPO3\CMS\Backend\Controller\LiveSearchController::$searchResults = []
protected