ElementBrowserController extends ElementBrowserController

Script class for the Element Browser window.

Deprecated

since TYPO3 v12, will be removed in TYPO3 v13

Table of Contents

Properties

$elementBrowserRegistry  : ElementBrowserRegistry
$mode  : string
The mode determines the main kind of output of the element browser.

Methods

__construct()  : mixed
mainAction()  : ResponseInterface
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
getBackendUser()  : BackendUserAuthentication
main()  : string
Main function, detecting the current mode of the element browser and branching out to internal methods.

Properties

$mode

The mode determines the main kind of output of the element browser.

protected string $mode = ''

There are these options for values:

  • "db" will allow you to browse for pages or records in the page tree for FormEngine select fields
  • "file" will allow you to browse for files in the folder mounts for FormEngine file selections
  • "folder" will allow you to browse for folders in the folder mounts for FormEngine folder selections
  • Other options may be registered via extensions

Methods

mainAction()

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

public mainAction(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface

the current request

Return values
ResponseInterface

the response with the content

main()

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

protected main(ServerRequestInterface $request) : string
Parameters
$request : ServerRequestInterface
Return values
string

HTML content


        
On this page

Search results