TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Recordlist\Controller\ElementBrowserController Class Reference
Inheritance diagram for TYPO3\CMS\Recordlist\Controller\ElementBrowserController:
SC_browse_links

Public Member Functions

 __construct ()
 
 main ()
 
 printContent ()
 

Public Attributes

 $mode
 
 $browser
 
 $doc
 

Protected Member Functions

 init ()
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Script class for the Element Browser window.

Author
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om

Definition at line 22 of file ElementBrowserController.php.

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ init()

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

◆ main()

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

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

Returns
void

Definition at line 91 of file ElementBrowserController.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\_GET(), TYPO3\CMS\Core\Utility\GeneralUtility\getUserObj(), TYPO3\CMS\Core\Utility\GeneralUtility\intExplode(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ printContent()

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

Print module content

Returns
void

Definition at line 167 of file ElementBrowserController.php.

Member Data Documentation

◆ $browser

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

Definition at line 45 of file ElementBrowserController.php.

◆ $doc

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

Definition at line 53 of file ElementBrowserController.php.

◆ $mode

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

The mode determines the main kind of output from the element browser. There are these options for values: rte, db, file, filedrag, wizard. "rte" will show the link selector for the Rich Text Editor (see main_rte()) "db" will allow you to browse for pages or records in the page tree (for TCEforms, see main_db()) "file"/"filedrag" will allow you to browse for files or folders in the folder mounts (for TCEforms, main_file()) "wizard" will allow you to browse for links (like "rte") which are passed back to TCEforms (see main_rte(1))

See also
main()
Todo:
Define visibility

Definition at line 35 of file ElementBrowserController.php.