TYPO3
7.6
|
Public Member Functions | |
renderLinkAttributeFields () | |
getPageConfigLabel ($string, $JScharCode=true) | |
getConfiguration () | |
getUrlParameters (array $overrides=null) | |
Public Member Functions inherited from AbstractLinkBrowserController | |
__construct () | |
mainAction (ServerRequestInterface $request, ResponseInterface $response) | |
renderLinkAttributeFields () | |
getUrlParameters (array $overrides=null) | |
getParameters () | |
getConfiguration () | |
getDisplayedLinkHandlerId () | |
getScriptUrl () | |
Protected Member Functions | |
init () | |
initVariables (ServerRequestInterface $request) | |
initDocumentTemplate () | |
initCurrentUrl () | |
renderCurrentUrl () | |
getAllowedItems () | |
getAllowedLinkAttributes () | |
getLinkAttributeFieldDefinitions () | |
getRelField () | |
getTargetField () | |
getTitleField () | |
getClassField () | |
getCurrentPageId () | |
getBodyTagAttributes () | |
Protected Member Functions inherited from AbstractLinkBrowserController | |
init () | |
initHookObjects () | |
determineScriptUrl (ServerRequestInterface $request) | |
initVariables (ServerRequestInterface $request) | |
getLinkHandlers () | |
initDocumentTemplate () | |
renderCurrentUrl () | |
getAllowedItems () | |
getAllowedLinkAttributes () | |
getLinkAttributeFieldDefinitions () | |
getBodyTagAttributes () | |
getCurrentPageId () | |
getLanguageService () | |
getBackendUser () | |
Protected Attributes | |
$bparams | |
$editorNo | |
$contentTypo3Language | |
$contentLanguageService | |
$buttonConfig = [] | |
$thisConfig = [] | |
$RTEProperties = [] | |
$RTEtsConfigParams | |
$classesAnchorDefault = array() | |
$classesAnchorDefaultTitle = array() | |
$classesAnchorClassTitle = array() | |
$classesAnchorDefaultTarget = array() | |
$classesAnchorJSOptions = array() | |
$defaultLinkTarget = '' | |
$additionalAttributes = array() | |
$siteUrl = '' | |
Protected Attributes inherited from AbstractLinkBrowserController | |
$doc | |
$parameters | |
$thisScript = '' | |
$linkHandlers = [] | |
$currentLinkParts = [] | |
$currentLinkHandler | |
$currentLinkHandlerId | |
$displayedLinkHandler | |
$displayedLinkHandlerId = '' | |
$linkAttributeFields = [] | |
$linkAttributeValues = [] | |
$hookObjects = [] | |
Extended controller for link browser
Definition at line 27 of file BrowseLinksController.php.
|
protected |
Get the allowed items or tabs
Definition at line 364 of file BrowseLinksController.php.
References GeneralUtility\trimExplode().
|
protected |
Get the allowed link attributes
Definition at line 385 of file BrowseLinksController.php.
References GeneralUtility\trimExplode().
|
protected |
Get attributes for the body tag
Definition at line 582 of file BrowseLinksController.php.
References AbstractLinkBrowserController\$parameters, and BrowseLinksController\$siteUrl.
|
protected |
Return html code for the class selector
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.
Definition at line 573 of file BrowseLinksController.php.
References BrowseLinksController\$buttonConfig.
|
protected |
|
protected |
Create an array of link attribute field rendering definitions
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
string | $string | The label to be localized |
bool | $JScharCode | If needs to be converted to an array of char numbers |
Definition at line 334 of file BrowseLinksController.php.
References AbstractLinkBrowserController\getLanguageService(), and GeneralUtility\quoteJSvalue().
Referenced by BrowseLinksController\renderLinkAttributeFields().
|
protected |
Add rel field
Definition at line 423 of file BrowseLinksController.php.
References AbstractLinkBrowserController\getLanguageService().
Referenced by BrowseLinksController\getLinkAttributeFieldDefinitions().
|
protected |
Add target selector
Definition at line 450 of file BrowseLinksController.php.
References BrowseLinksController\$defaultLinkTarget, $lang, and AbstractLinkBrowserController\getLanguageService().
Referenced by BrowseLinksController\getLinkAttributeFieldDefinitions().
|
protected |
Add title selector
Definition at line 490 of file BrowseLinksController.php.
References AbstractLinkBrowserController\$currentLinkHandlerId, and AbstractLinkBrowserController\getLanguageService().
Referenced by BrowseLinksController\getLinkAttributeFieldDefinitions().
getUrlParameters | ( | array | $overrides = null | ) |
array | $overrides |
Definition at line 594 of file BrowseLinksController.php.
References BrowseLinksController\$bparams, BrowseLinksController\$contentTypo3Language, AbstractLinkBrowserController\$displayedLinkHandlerId, and BrowseLinksController\$editorNo.
|
protected |
Initialize controller
Definition at line 136 of file BrowseLinksController.php.
References $lang, AbstractLinkBrowserController\getLanguageService(), and GeneralUtility\makeInstance().
|
protected |
Initialize $this->currentLink and $this->currentLinkHandler
Definition at line 210 of file BrowseLinksController.php.
|
protected |
Initialize document template object
Definition at line 197 of file BrowseLinksController.php.
References GeneralUtility\makeInstance().
|
protected |
ServerRequestInterface | $request |
Definition at line 150 of file BrowseLinksController.php.
References AbstractLinkBrowserController\$currentLinkParts, BrowseLinksController\$RTEtsConfigParams, GeneralUtility\_GP(), GeneralUtility\get_tag_attributes(), AbstractLinkBrowserController\getBackendUser(), GeneralUtility\getIndpEnv(), BackendUtility\getPagesTSconfig(), ServerRequestInterface\getQueryParams(), and BackendUtility\RTEsetup().
|
protected |
Definition at line 348 of file BrowseLinksController.php.
References AbstractLinkBrowserController\getLanguageService().
renderLinkAttributeFields | ( | ) |
Renders the link attributes for the selected link handler
Definition at line 252 of file BrowseLinksController.php.
References AbstractLinkBrowserController\$currentLinkHandlerId, AbstractLinkBrowserController\$displayedLinkHandlerId, $GLOBALS, BrowseLinksController\getPageConfigLabel(), and GeneralUtility\trimExplode().
|
protected |
Definition at line 126 of file BrowseLinksController.php.
|
protected |
Definition at line 47 of file BrowseLinksController.php.
Referenced by BrowseLinksController\getUrlParameters().
|
protected |
Definition at line 71 of file BrowseLinksController.php.
Referenced by BrowseLinksController\getConfiguration().
|
protected |
Definition at line 106 of file BrowseLinksController.php.
|
protected |
Definition at line 96 of file BrowseLinksController.php.
|
protected |
Definition at line 111 of file BrowseLinksController.php.
|
protected |
Definition at line 101 of file BrowseLinksController.php.
|
protected |
Definition at line 116 of file BrowseLinksController.php.
|
protected |
Definition at line 66 of file BrowseLinksController.php.
|
protected |
Definition at line 59 of file BrowseLinksController.php.
Referenced by BrowseLinksController\getUrlParameters().
|
protected |
Definition at line 121 of file BrowseLinksController.php.
Referenced by BrowseLinksController\getTargetField().
|
protected |
Definition at line 52 of file BrowseLinksController.php.
Referenced by BrowseLinksController\getUrlParameters().
|
protected |
Definition at line 83 of file BrowseLinksController.php.
|
protected |
Definition at line 91 of file BrowseLinksController.php.
Referenced by BrowseLinksController\initVariables().
|
protected |
Definition at line 131 of file BrowseLinksController.php.
Referenced by BrowseLinksController\getBodyTagAttributes().
|
protected |
Definition at line 76 of file BrowseLinksController.php.