TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController Class Reference
Inheritance diagram for TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController:
TYPO3\CMS\Backend\Controller\LinkBrowserController TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController TYPO3\CMS\Rtehtmlarea\Controller\SelectImageController

Public Member Functions

 __construct ()
 
 mainAction (ServerRequestInterface $request, ResponseInterface $response)
 
 renderLinkAttributeFields ()
 
 getUrlParameters (array $overrides=null)
 
 getParameters ()
 
 getConfiguration ()
 
 getDisplayedLinkHandlerId ()
 
 getScriptUrl ()
 

Protected Member Functions

 init ()
 
 initHookObjects ()
 
 determineScriptUrl (ServerRequestInterface $request)
 
 initVariables (ServerRequestInterface $request)
 
 getLinkHandlers ()
 
 initDocumentTemplate ()
 
 renderCurrentUrl ()
 
 getAllowedItems ()
 
 getAllowedLinkAttributes ()
 
 getLinkAttributeFieldDefinitions ()
 
 getBodyTagAttributes ()
 
 getCurrentPageId ()
 
 getLanguageService ()
 
 getBackendUser ()
 

Protected Attributes

 $doc
 
 $parameters
 
 $thisScript = ''
 
 $linkHandlers = []
 
 $currentLinkParts = []
 
 $currentLinkHandler
 
 $currentLinkHandlerId
 
 $displayedLinkHandler
 
 $displayedLinkHandlerId = ''
 
 $linkAttributeFields = []
 
 $linkAttributeValues = []
 
 $hookObjects = []
 

Detailed Description

Script class for the Link Browser window.

Definition at line 32 of file AbstractLinkBrowserController.php.

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ determineScriptUrl()

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::determineScriptUrl ( ServerRequestInterface  $request)
protected

Sets the script url depending on being a module or script request

Parameters
ServerRequestInterface$request
Exceptions

Definition at line 198 of file AbstractLinkBrowserController.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\getIndpEnv(), and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

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

◆ getAllowedItems()

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::getAllowedItems ( )
protected

◆ getAllowedLinkAttributes()

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::getAllowedLinkAttributes ( )
protected

◆ getBackendUser()

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::getBackendUser ( )
protected

◆ getBodyTagAttributes()

◆ getConfiguration()

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::getConfiguration ( )

Retrieve the configuration

Returns
array

Definition at line 636 of file AbstractLinkBrowserController.php.

◆ getCurrentPageId()

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::getCurrentPageId ( )
abstractprotected

◆ getDisplayedLinkHandlerId()

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::getDisplayedLinkHandlerId ( )

◆ getLanguageService()

◆ getLinkAttributeFieldDefinitions()

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::getLinkAttributeFieldDefinitions ( )
protected

Create an array of link attribute field rendering definitions

Returns
string[]

Definition at line 503 of file AbstractLinkBrowserController.php.

References TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\getLanguageService().

Referenced by TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\renderLinkAttributeFields().

◆ getLinkHandlers()

◆ getParameters()

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::getParameters ( )

◆ getScriptUrl()

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::getScriptUrl ( )

◆ getUrlParameters()

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::getUrlParameters ( array  $overrides = null)

◆ init()

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

◆ initDocumentTemplate()

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::initDocumentTemplate ( )
protected

◆ initHookObjects()

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::initHookObjects ( )
protected

Initialize hook objects implementing the interface

Exceptions

Definition at line 139 of file AbstractLinkBrowserController.php.

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

Referenced by TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\__construct().

◆ initVariables()

◆ mainAction()

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

Injects the request object for the current request or subrequest 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 162 of file AbstractLinkBrowserController.php.

References TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\determineScriptUrl(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\initDocumentTemplate(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\initVariables(), TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\renderCurrentUrl(), and TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\renderLinkAttributeFields().

◆ renderCurrentUrl()

◆ renderLinkAttributeFields()

Member Data Documentation

◆ $currentLinkHandler

LinkHandlerInterface TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::$currentLinkHandler
protected

Link handler responsible for the current active link

Definition at line 70 of file AbstractLinkBrowserController.php.

Referenced by TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\renderCurrentUrl().

◆ $currentLinkHandlerId

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::$currentLinkHandlerId
protected

◆ $currentLinkParts

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::$currentLinkParts = []
protected

◆ $displayedLinkHandler

LinkHandlerInterface TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::$displayedLinkHandler
protected

Link handler to be displayed

Definition at line 84 of file AbstractLinkBrowserController.php.

◆ $displayedLinkHandlerId

◆ $doc

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::$doc
protected

Definition at line 37 of file AbstractLinkBrowserController.php.

◆ $hookObjects

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::$hookObjects = []
protected

Definition at line 112 of file AbstractLinkBrowserController.php.

◆ $linkAttributeFields

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::$linkAttributeFields = []
protected

Definition at line 100 of file AbstractLinkBrowserController.php.

◆ $linkAttributeValues

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::$linkAttributeValues = []
protected

Definition at line 107 of file AbstractLinkBrowserController.php.

◆ $linkHandlers

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::$linkHandlers = []
protected

◆ $parameters

◆ $thisScript

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::$thisScript = ''
protected