‪TYPO3CMS  9.5
TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController Class Reference
Inheritance diagram for TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController:
TYPO3\CMS\Core\Compatibility\PublicMethodDeprecationTrait TYPO3\CMS\Backend\Controller\LinkBrowserController TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController

Public Member Functions

 __construct ()
 
ResponseInterface mainAction (ServerRequestInterface $request)
 
array getUrlParameters (array $overrides=null)
 
array getParameters ()
 
array getConfiguration ()
 
string getScriptUrl ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Compatibility\PublicMethodDeprecationTrait
mixed __call (string $methodName, array $arguments)
 

Protected Member Functions

 init ()
 
 initHookObjects ()
 
 determineScriptUrl (ServerRequestInterface $request)
 
 initVariables (ServerRequestInterface $request)
 
 loadLinkHandlers ()
 
array getLinkHandlers ()
 
 initCurrentUrl ()
 
 initDocumentTemplate ()
 
string renderCurrentUrl ()
 
mixed[][] buildMenuArray ()
 
string[] getAllowedItems ()
 
string[] getAllowedLinkAttributes ()
 
string renderLinkAttributeFields ()
 
string[] getLinkAttributeFieldDefinitions ()
 
string[] getBodyTagAttributes ()
 
int getCurrentPageId ()
 
string getDisplayedLinkHandlerId ()
 
LanguageService getLanguageService ()
 
BackendUserAuthentication getBackendUser ()
 

Protected Attributes

array $deprecatedPublicMethods
 
DocumentTemplate $doc
 
array $parameters
 
string $thisScript = ''
 
LinkHandlerInterface[] $linkHandlers = array( )
 
string[] $currentLinkParts = array( )
 
LinkHandlerInterface $currentLinkHandler
 
string $currentLinkHandlerId
 
LinkHandlerInterface $displayedLinkHandler
 
string $displayedLinkHandlerId = ''
 
string[] $linkAttributeFields = array( )
 
string[] $linkAttributeValues = array( )
 
array $hookObjects = array( )
 

Detailed Description

Script class for the Link Browser window.

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

Definition at line 35 of file AbstractLinkBrowserController.php.

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ buildMenuArray()

◆ 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 199 of file AbstractLinkBrowserController.php.

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

◆ getAllowedItems()

string [] TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::getAllowedItems ( )
protected

Get the allowed items or tabs

Returns
‪string[]

Reimplemented in TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController.

Definition at line 405 of file AbstractLinkBrowserController.php.

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

◆ getAllowedLinkAttributes()

string [] TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::getAllowedLinkAttributes ( )
protected

◆ getBackendUser()

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

Definition at line 638 of file AbstractLinkBrowserController.php.

References $GLOBALS.

◆ getBodyTagAttributes()

◆ getConfiguration()

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

Retrieve the configuration

Returns
‪array

Reimplemented in TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController, and TYPO3\CMS\Backend\Controller\LinkBrowserController.

Definition at line 606 of file AbstractLinkBrowserController.php.

◆ getCurrentPageId()

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

◆ getDisplayedLinkHandlerId()

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

◆ getLanguageService()

◆ getLinkAttributeFieldDefinitions()

string [] TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::getLinkAttributeFieldDefinitions ( )
protected

◆ getLinkHandlers()

array TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::getLinkHandlers ( )
protected

◆ getParameters()

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

◆ getScriptUrl()

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

◆ getUrlParameters()

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

◆ init()

◆ initCurrentUrl()

TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::initCurrentUrl ( )
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 135 of file AbstractLinkBrowserController.php.

References $GLOBALS.

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

◆ initVariables()

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

◆ loadLinkHandlers()

◆ mainAction()

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

◆ renderCurrentUrl()

string TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::renderCurrentUrl ( )
protected

◆ renderLinkAttributeFields()

Member Data Documentation

◆ $currentLinkHandler

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

Link handler responsible for the current active link

$currentLinkHandler

Definition at line 75 of file AbstractLinkBrowserController.php.

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

◆ $currentLinkHandlerId

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

The ID of the currently active link handler

Definition at line 81 of file AbstractLinkBrowserController.php.

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

◆ $currentLinkParts

string [] TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::$currentLinkParts = array( )
protected

All parts of the current link

Comprised of url information and additional link parameters.

Definition at line 69 of file AbstractLinkBrowserController.php.

Referenced by TYPO3\CMS\Backend\Controller\LinkBrowserController\initCurrentUrl().

◆ $deprecatedPublicMethods

array TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::$deprecatedPublicMethods
protected
Initial value:
= array(
'renderLinkAttributeFields' => 'Using AbstractLinkBrowserController::renderLinkAttributeFields() is deprecated and will not be possible anymore in TYPO3 v10.0.',
'getDisplayedLinkHandlerId' => 'Using AbstractLinkBrowzerController::getDisplayedLinkHandlerId() is deprecated and will not be possible anymore in TYPO3 v10.0.',
)

Definition at line 40 of file AbstractLinkBrowserController.php.

◆ $displayedLinkHandler

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

Link handler to be displayed

$displayedLinkHandler

Definition at line 87 of file AbstractLinkBrowserController.php.

◆ $displayedLinkHandlerId

◆ $doc

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

Definition at line 47 of file AbstractLinkBrowserController.php.

◆ $hookObjects

array TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::$hookObjects = array( )
protected

Definition at line 111 of file AbstractLinkBrowserController.php.

◆ $linkAttributeFields

string [] TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::$linkAttributeFields = array( )
protected

List of available link attribute fields

Definition at line 101 of file AbstractLinkBrowserController.php.

◆ $linkAttributeValues

string [] TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::$linkAttributeValues = array( )
protected

Values of the link attributes

Definition at line 107 of file AbstractLinkBrowserController.php.

◆ $linkHandlers

LinkHandlerInterface [] TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController::$linkHandlers = array( )
protected

◆ $parameters

◆ $thisScript

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