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

Public Member Functions

 renderLinkAttributeFields ()
 
 getPageConfigLabel ($string, $JScharCode=true)
 
 getConfiguration ()
 
 getUrlParameters (array $overrides=null)
 

Protected Member Functions

 init ()
 
 initVariables (ServerRequestInterface $request)
 
 initDocumentTemplate ()
 
 initCurrentUrl ()
 
 renderCurrentUrl ()
 
 getAllowedItems ()
 
 getAllowedLinkAttributes ()
 
 getLinkAttributeFieldDefinitions ()
 
 getRelField ()
 
 getTargetField ()
 
 getTitleField ()
 
 getClassField ()
 
 getCurrentPageId ()
 
 getBodyTagAttributes ()
 

Protected Attributes

 $bparams
 
 $editorNo
 
 $contentTypo3Language
 
 $contentLanguageService
 
 $buttonConfig = []
 
 $thisConfig = []
 
 $RTEProperties = []
 
 $RTEtsConfigParams
 
 $classesAnchorDefault = []
 
 $classesAnchorDefaultTitle = []
 
 $classesAnchorClassTitle = []
 
 $classesAnchorDefaultTarget = []
 
 $classesAnchorJSOptions = []
 
 $defaultLinkTarget = ''
 
 $additionalAttributes = []
 
 $siteUrl = ''
 

Detailed Description

Extended controller for link browser

Definition at line 27 of file BrowseLinksController.php.

Member Function Documentation

◆ getAllowedItems()

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::getAllowedItems ( )
protected

Get the allowed items or tabs

Returns
string[]

Definition at line 378 of file BrowseLinksController.php.

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

◆ getAllowedLinkAttributes()

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::getAllowedLinkAttributes ( )
protected

Get the allowed link attributes

Returns
string[]

Definition at line 399 of file BrowseLinksController.php.

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

◆ getBodyTagAttributes()

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::getBodyTagAttributes ( )
protected

Get attributes for the body tag

Returns
string[] Array of body-tag attributes

Definition at line 594 of file BrowseLinksController.php.

References TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\$parameters, and TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController\$siteUrl.

◆ getClassField()

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::getClassField ( )
protected

◆ getConfiguration()

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::getConfiguration ( )

Retrieve the configuration

This is only used by RTE currently.

Returns
array

Definition at line 584 of file BrowseLinksController.php.

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

◆ getCurrentPageId()

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::getCurrentPageId ( )
protected

Return the ID of current page

Returns
int

Definition at line 572 of file BrowseLinksController.php.

◆ getLinkAttributeFieldDefinitions()

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::getLinkAttributeFieldDefinitions ( )
protected

◆ getPageConfigLabel()

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

Localize a label obtained from Page TSConfig

Parameters
string$stringThe label to be localized
bool$JScharCodeIf needs to be converted to an array of char numbers
Returns
string Localized string

Definition at line 348 of file BrowseLinksController.php.

References TYPO3\CMS\Recordlist\Controller\AbstractLinkBrowserController\getLanguageService(), and TYPO3\CMS\Core\Utility\GeneralUtility\quoteJSvalue().

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

◆ getRelField()

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::getRelField ( )
protected

◆ getTargetField()

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::getTargetField ( )
protected

◆ getTitleField()

◆ getUrlParameters()

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

◆ init()

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

◆ initCurrentUrl()

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

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

Returns
void

Definition at line 212 of file BrowseLinksController.php.

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

◆ initDocumentTemplate()

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

Initialize document template object

Returns
void

Definition at line 199 of file BrowseLinksController.php.

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

◆ initVariables()

◆ renderCurrentUrl()

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

◆ renderLinkAttributeFields()

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::renderLinkAttributeFields ( )

Member Data Documentation

◆ $additionalAttributes

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::$additionalAttributes = []
protected

Definition at line 126 of file BrowseLinksController.php.

◆ $bparams

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::$bparams
protected

◆ $buttonConfig

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::$buttonConfig = []
protected

◆ $classesAnchorClassTitle

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::$classesAnchorClassTitle = []
protected

Definition at line 106 of file BrowseLinksController.php.

◆ $classesAnchorDefault

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::$classesAnchorDefault = []
protected

Definition at line 96 of file BrowseLinksController.php.

◆ $classesAnchorDefaultTarget

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::$classesAnchorDefaultTarget = []
protected

Definition at line 111 of file BrowseLinksController.php.

◆ $classesAnchorDefaultTitle

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::$classesAnchorDefaultTitle = []
protected

Definition at line 101 of file BrowseLinksController.php.

◆ $classesAnchorJSOptions

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::$classesAnchorJSOptions = []
protected

Definition at line 116 of file BrowseLinksController.php.

◆ $contentLanguageService

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::$contentLanguageService
protected

Definition at line 66 of file BrowseLinksController.php.

◆ $contentTypo3Language

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::$contentTypo3Language
protected

◆ $defaultLinkTarget

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::$defaultLinkTarget = ''
protected

◆ $editorNo

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::$editorNo
protected

◆ $RTEProperties

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::$RTEProperties = []
protected

Definition at line 83 of file BrowseLinksController.php.

◆ $RTEtsConfigParams

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::$RTEtsConfigParams
protected

◆ $siteUrl

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::$siteUrl = ''
protected

◆ $thisConfig

TYPO3\CMS\Rtehtmlarea\Controller\BrowseLinksController::$thisConfig = []
protected

Definition at line 76 of file BrowseLinksController.php.