‪TYPO3CMS  10.4
TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController Class Reference
Inheritance diagram for TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController:
TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController

Public Member Functions

array getConfiguration ()
 
array getUrlParameters (array $overrides=null)
 

Protected Member Functions

 init ()
 
 initVariables (ServerRequestInterface $request)
 
 initDocumentTemplate ()
 
 initCurrentUrl ()
 
string renderLinkAttributeFields ()
 
string getPageConfigLabel ($string, $JScharCode=true)
 
 renderCurrentUrl ()
 
string[] getAllowedItems ()
 
string[] getAllowedLinkAttributes ()
 
string[] getLinkAttributeFieldDefinitions ()
 
string getRelField ()
 
string getTargetField ()
 
string getTitleField ()
 
string getClassField ()
 
int getCurrentPageId ()
 
string[] getBodyTagAttributes ()
 
 isReadonlyTitle ()
 

Protected Attributes

string $editorId
 
string $contentsLanguage
 
LanguageService $contentLanguageService
 
array $buttonConfig = array( )
 
array $thisConfig = array( )
 
array $classesAnchorDefault = array( )
 
array $classesAnchorDefaultTitle = array( )
 
array $classesAnchorClassTitle = array( )
 
array $classesAnchorDefaultTarget = array( )
 
array $classesAnchorJSOptions = array( )
 
string $defaultLinkTarget = ''
 
array $additionalAttributes = array( )
 
string $siteUrl = ''
 

Additional Inherited Members

Detailed Description

Extended controller for link browser

This is a specific Backend Controller implementation and is not considered part of the Public TYPO3 API.

Definition at line 32 of file BrowseLinksController.php.

Member Function Documentation

◆ getAllowedItems()

string [] TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::getAllowedItems ( )
protected

Get the allowed items or tabs

Returns
‪string[]

Reimplemented from TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController.

Definition at line 286 of file BrowseLinksController.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

◆ getAllowedLinkAttributes()

string [] TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::getAllowedLinkAttributes ( )
protected

Get the allowed link attributes

Returns
‪string[]

Reimplemented from TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController.

Definition at line 307 of file BrowseLinksController.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\trimExplode().

◆ getBodyTagAttributes()

string [] TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::getBodyTagAttributes ( )
protected

◆ getClassField()

string TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::getClassField ( )
protected

◆ getConfiguration()

array TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::getConfiguration ( )

Retrieve the configuration

This is only used by RTE currently.

Returns
‪array

Reimplemented from TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController.

Definition at line 492 of file BrowseLinksController.php.

References TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController\$buttonConfig.

◆ getCurrentPageId()

int TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::getCurrentPageId ( )
protected

Return the ID of current page

Returns
‪int

Reimplemented from TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController.

Definition at line 480 of file BrowseLinksController.php.

◆ getLinkAttributeFieldDefinitions()

string [] TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::getLinkAttributeFieldDefinitions ( )
protected

◆ getPageConfigLabel()

string TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::getPageConfigLabel (   $string,
  $JScharCode = true 
)
protected

Localize a label obtained from Page TSConfig

Parameters
string$string‪The label to be localized
bool$JScharCode‪If needs to be converted to an array of char numbers
Returns
‪string Localized string

Definition at line 264 of file BrowseLinksController.php.

References TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\getLanguageService(), and TYPO3\CMS\Core\Localization\LanguageService\sL().

Referenced by TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController\renderLinkAttributeFields().

◆ getRelField()

string TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::getRelField ( )
protected

◆ getTargetField()

string TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::getTargetField ( )
protected

◆ getTitleField()

◆ getUrlParameters()

array TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::getUrlParameters ( array  $overrides = null)

◆ init()

TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::init ( )
protected

Initialize controller

Reimplemented from TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController.

Definition at line 93 of file BrowseLinksController.php.

◆ initCurrentUrl()

TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::initCurrentUrl ( )
protected

Initialize $this->currentLink and $this->currentLinkHandler

Reimplemented from TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController.

Definition at line 148 of file BrowseLinksController.php.

◆ initDocumentTemplate()

TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::initDocumentTemplate ( )
protected

Initialize body tag parameters, but can be used for other parts as well

Reimplemented from TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController.

Definition at line 133 of file BrowseLinksController.php.

◆ initVariables()

TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::initVariables ( ServerRequestInterface  $request)
protected
Parameters
ServerRequestInterface$request

Reimplemented from TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController.

Definition at line 102 of file BrowseLinksController.php.

References TYPO3\CMS\Core\Localization\LanguageService\create().

◆ isReadonlyTitle()

◆ renderCurrentUrl()

TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::renderCurrentUrl ( )
protected

Add the currently set URL to the view

Reimplemented from TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController.

Definition at line 275 of file BrowseLinksController.php.

◆ renderLinkAttributeFields()

string TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::renderLinkAttributeFields ( )
protected

Member Data Documentation

◆ $additionalAttributes

array TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::$additionalAttributes = array( )
protected

Definition at line 84 of file BrowseLinksController.php.

◆ $buttonConfig

array TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::$buttonConfig = array( )
protected

◆ $classesAnchorClassTitle

array TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::$classesAnchorClassTitle = array( )
protected

Definition at line 68 of file BrowseLinksController.php.

◆ $classesAnchorDefault

array TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::$classesAnchorDefault = array( )
protected

Definition at line 60 of file BrowseLinksController.php.

◆ $classesAnchorDefaultTarget

array TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::$classesAnchorDefaultTarget = array( )
protected

Definition at line 72 of file BrowseLinksController.php.

◆ $classesAnchorDefaultTitle

array TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::$classesAnchorDefaultTitle = array( )
protected

Definition at line 64 of file BrowseLinksController.php.

◆ $classesAnchorJSOptions

array TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::$classesAnchorJSOptions = array( )
protected

Definition at line 76 of file BrowseLinksController.php.

◆ $contentLanguageService

LanguageService TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::$contentLanguageService
protected

Language service object for localization to the content language

Definition at line 48 of file BrowseLinksController.php.

◆ $contentsLanguage

string TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::$contentsLanguage
protected

TYPO3 language code of the content language

Definition at line 42 of file BrowseLinksController.php.

Referenced by TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController\getUrlParameters().

◆ $defaultLinkTarget

string TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::$defaultLinkTarget = ''
protected

◆ $editorId

string TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::$editorId
protected

◆ $siteUrl

string TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::$siteUrl = ''
protected

◆ $thisConfig

array TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController::$thisConfig = array( )
protected

Definition at line 56 of file BrowseLinksController.php.