‪TYPO3CMS  11.5
TYPO3\CMS\Recordlist\Controller\ElementBrowserController Class Reference

Public Member Functions

ResponseInterface mainAction (ServerRequestInterface $request)
 

Protected Member Functions

string main (ServerRequestInterface $request)
 
ElementBrowserInterface getElementBrowserInstance ()
 
LanguageService getLanguageService ()
 
BackendUserAuthentication getBackendUser ()
 

Protected Attributes

string $mode = ''
 

Detailed Description

Script class for the Element Browser window.

This class is a specific Backend controller implementation and is not part of the TYPO3's Core API.

Definition at line 32 of file ElementBrowserController.php.

Member Function Documentation

◆ getBackendUser()

BackendUserAuthentication TYPO3\CMS\Recordlist\Controller\ElementBrowserController::getBackendUser ( )
protected
Returns
‪BackendUserAuthentication

Definition at line 139 of file ElementBrowserController.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Recordlist\Controller\ElementBrowserController\main().

◆ getElementBrowserInstance()

ElementBrowserInterface TYPO3\CMS\Recordlist\Controller\ElementBrowserController::getElementBrowserInstance ( )
protected

Get instance of the actual element browser

Returns
‪ElementBrowserInterface
Exceptions

Definition at line 118 of file ElementBrowserController.php.

References $GLOBALS, and TYPO3\CMS\Recordlist\Controller\ElementBrowserController\$mode.

Referenced by TYPO3\CMS\Recordlist\Controller\ElementBrowserController\main().

◆ getLanguageService()

LanguageService TYPO3\CMS\Recordlist\Controller\ElementBrowserController::getLanguageService ( )
protected
Returns
‪LanguageService

Definition at line 131 of file ElementBrowserController.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Recordlist\Controller\ElementBrowserController\mainAction().

◆ main()

string TYPO3\CMS\Recordlist\Controller\ElementBrowserController::main ( ServerRequestInterface  $request)
protected

Main function, detecting the current mode of the element browser and branching out to internal methods.

Returns
‪string HTML content

Definition at line 72 of file ElementBrowserController.php.

References $GLOBALS, TYPO3\CMS\Recordlist\Controller\ElementBrowserController\getBackendUser(), and TYPO3\CMS\Recordlist\Controller\ElementBrowserController\getElementBrowserInstance().

Referenced by TYPO3\CMS\Recordlist\Controller\ElementBrowserController\mainAction().

◆ mainAction()

ResponseInterface TYPO3\CMS\Recordlist\Controller\ElementBrowserController::mainAction ( ServerRequestInterface  $request)

Injects the request object for the current request or sub-request As this controller goes only through the main() method, it is rather simple for now

Parameters
ServerRequestInterface$request‪the current request
Returns
‪ResponseInterface the response with the content

Definition at line 54 of file ElementBrowserController.php.

References TYPO3\CMS\Recordlist\Controller\ElementBrowserController\getLanguageService(), TYPO3\CMS\Core\Localization\LanguageService\includeLLFile(), and TYPO3\CMS\Recordlist\Controller\ElementBrowserController\main().

Member Data Documentation

◆ $mode

string TYPO3\CMS\Recordlist\Controller\ElementBrowserController::$mode = ''
protected