TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BrowseLinksController Class Reference
Inheritance diagram for BrowseLinksController:
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 = array()
 
 $classesAnchorDefaultTitle = array()
 
 $classesAnchorClassTitle = array()
 
 $classesAnchorDefaultTarget = array()
 
 $classesAnchorJSOptions = array()
 
 $defaultLinkTarget = ''
 
 $additionalAttributes = array()
 
 $siteUrl = ''
 

Detailed Description

Extended controller for link browser

Definition at line 27 of file BrowseLinksController.php.

Member Function Documentation

getAllowedItems ( )
protected

Get the allowed items or tabs

Returns
string[]

Definition at line 364 of file BrowseLinksController.php.

References GeneralUtility\trimExplode().

getAllowedLinkAttributes ( )
protected

Get the allowed link attributes

Returns
string[]

Definition at line 385 of file BrowseLinksController.php.

References GeneralUtility\trimExplode().

getBodyTagAttributes ( )
protected

Get attributes for the body tag

Returns
string[] Array of body-tag attributes

Definition at line 582 of file BrowseLinksController.php.

References AbstractLinkBrowserController\$parameters, and BrowseLinksController\$siteUrl.

getClassField ( )
protected

Return html code for the class selector

Returns
string the html code to be added to the form

Definition at line 536 of file BrowseLinksController.php.

References AbstractLinkBrowserController\$currentLinkHandlerId, and AbstractLinkBrowserController\getLanguageService().

Referenced by BrowseLinksController\getLinkAttributeFieldDefinitions().

getConfiguration ( )

Retrieve the configuration

This is only used by RTE currently.

Returns
array

Definition at line 573 of file BrowseLinksController.php.

References BrowseLinksController\$buttonConfig.

getCurrentPageId ( )
protected

Return the ID of current page

Returns
int

Definition at line 561 of file BrowseLinksController.php.

getLinkAttributeFieldDefinitions ( )
protected

Create an array of link attribute field rendering definitions

Returns
string[]

Definition at line 402 of file BrowseLinksController.php.

References BrowseLinksController\getClassField(), BrowseLinksController\getRelField(), BrowseLinksController\getTargetField(), and BrowseLinksController\getTitleField().

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 334 of file BrowseLinksController.php.

References AbstractLinkBrowserController\getLanguageService(), and GeneralUtility\quoteJSvalue().

Referenced by BrowseLinksController\renderLinkAttributeFields().

getRelField ( )
protected
getTargetField ( )
protected
getTitleField ( )
protected
getUrlParameters ( array  $overrides = null)
Parameters
array$overrides
Returns
array Array of parameters which have to be added to URLs

Definition at line 594 of file BrowseLinksController.php.

References BrowseLinksController\$bparams, BrowseLinksController\$contentTypo3Language, AbstractLinkBrowserController\$displayedLinkHandlerId, and BrowseLinksController\$editorNo.

init ( )
protected
initCurrentUrl ( )
protected

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

Returns
void

Definition at line 210 of file BrowseLinksController.php.

initDocumentTemplate ( )
protected

Initialize document template object

Returns
void

Definition at line 197 of file BrowseLinksController.php.

References GeneralUtility\makeInstance().

initVariables ( ServerRequestInterface  $request)
protected
renderCurrentUrl ( )
protected
Returns
string

Definition at line 348 of file BrowseLinksController.php.

References AbstractLinkBrowserController\getLanguageService().

renderLinkAttributeFields ( )

Member Data Documentation

$additionalAttributes = array()
protected

Definition at line 126 of file BrowseLinksController.php.

$bparams
protected

Definition at line 47 of file BrowseLinksController.php.

Referenced by BrowseLinksController\getUrlParameters().

$buttonConfig = []
protected

Definition at line 71 of file BrowseLinksController.php.

Referenced by BrowseLinksController\getConfiguration().

$classesAnchorClassTitle = array()
protected

Definition at line 106 of file BrowseLinksController.php.

$classesAnchorDefault = array()
protected

Definition at line 96 of file BrowseLinksController.php.

$classesAnchorDefaultTarget = array()
protected

Definition at line 111 of file BrowseLinksController.php.

$classesAnchorDefaultTitle = array()
protected

Definition at line 101 of file BrowseLinksController.php.

$classesAnchorJSOptions = array()
protected

Definition at line 116 of file BrowseLinksController.php.

$contentLanguageService
protected

Definition at line 66 of file BrowseLinksController.php.

$contentTypo3Language
protected

Definition at line 59 of file BrowseLinksController.php.

Referenced by BrowseLinksController\getUrlParameters().

$defaultLinkTarget = ''
protected

Definition at line 121 of file BrowseLinksController.php.

Referenced by BrowseLinksController\getTargetField().

$editorNo
protected

Definition at line 52 of file BrowseLinksController.php.

Referenced by BrowseLinksController\getUrlParameters().

$RTEProperties = []
protected

Definition at line 83 of file BrowseLinksController.php.

$RTEtsConfigParams
protected

Definition at line 91 of file BrowseLinksController.php.

Referenced by BrowseLinksController\initVariables().

$siteUrl = ''
protected
$thisConfig = []
protected

Definition at line 76 of file BrowseLinksController.php.