TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Recordlist\Controller\ElementBrowserController Class Reference

Public Member Functions

 __construct ()
 
 mainAction (ServerRequestInterface $request, ResponseInterface $response)
 
 main ()
 

Public Attributes

 $doc
 

Protected Member Functions

 init ()
 
 getElementBrowserInstance ()
 
 getLanguageService ()
 
 getBackendUser ()
 

Protected Attributes

 $mode
 

Detailed Description

Script class for the Element Browser window.

Definition at line 29 of file ElementBrowserController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Recordlist\Controller\ElementBrowserController::__construct ( )

Member Function Documentation

◆ getBackendUser()

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

Definition at line 166 of file ElementBrowserController.php.

References $GLOBALS.

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

◆ getElementBrowserInstance()

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

Get instance of the actual element browser

This method shall be overwritten in subclasses

Returns
ElementBrowserInterface
Exceptions

Definition at line 145 of file ElementBrowserController.php.

References $GLOBALS, TYPO3\CMS\Recordlist\Controller\ElementBrowserController\$mode, and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

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

◆ getLanguageService()

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

Definition at line 158 of file ElementBrowserController.php.

References $GLOBALS.

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

◆ init()

TYPO3\CMS\Recordlist\Controller\ElementBrowserController::init ( )
protected

◆ main()

TYPO3\CMS\Recordlist\Controller\ElementBrowserController::main ( )

◆ mainAction()

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

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$requestthe current request
ResponseInterface$responsethe prepared response object
Returns
ResponseInterface the response with the content

Definition at line 87 of file ElementBrowserController.php.

References TYPO3\CMS\Recordlist\Controller\ElementBrowserController\main().

Member Data Documentation

◆ $doc

TYPO3\CMS\Recordlist\Controller\ElementBrowserController::$doc

Definition at line 49 of file ElementBrowserController.php.

◆ $mode

TYPO3\CMS\Recordlist\Controller\ElementBrowserController::$mode
protected