TYPO3
7.6
|
Public Member Functions | |
__construct () | |
mainAction (ServerRequestInterface $request, ResponseInterface $response) | |
renderLinkAttributeFields () | |
getUrlParameters (array $overrides=null) | |
getParameters () | |
getConfiguration () | |
getDisplayedLinkHandlerId () | |
getScriptUrl () | |
Protected Member Functions | |
init () | |
initHookObjects () | |
determineScriptUrl (ServerRequestInterface $request) | |
initVariables (ServerRequestInterface $request) | |
getLinkHandlers () | |
initDocumentTemplate () | |
renderCurrentUrl () | |
getAllowedItems () | |
getAllowedLinkAttributes () | |
getLinkAttributeFieldDefinitions () | |
getBodyTagAttributes () | |
getCurrentPageId () | |
getLanguageService () | |
getBackendUser () | |
Protected Attributes | |
$doc | |
$parameters | |
$thisScript = '' | |
$linkHandlers = [] | |
$currentLinkParts = [] | |
$currentLinkHandler | |
$currentLinkHandlerId | |
$displayedLinkHandler | |
$displayedLinkHandlerId = '' | |
$linkAttributeFields = [] | |
$linkAttributeValues = [] | |
$hookObjects = [] | |
Script class for the Link Browser window.
Definition at line 32 of file AbstractLinkBrowserController.php.
__construct | ( | ) |
Constructor
Definition at line 117 of file AbstractLinkBrowserController.php.
References AbstractLinkBrowserController\init(), and AbstractLinkBrowserController\initHookObjects().
|
protected |
Sets the script url depending on being a module or script request
ServerRequestInterface | $request |
\TYPO3\CMS\Backend\Routing\Exception\ResourceNotFoundException | |
\TYPO3\CMS\Backend\Routing\Exception\RouteNotFoundException |
Definition at line 198 of file AbstractLinkBrowserController.php.
References elseif, GeneralUtility\getIndpEnv(), ServerRequestInterface\getQueryParams(), and GeneralUtility\makeInstance().
Referenced by AbstractLinkBrowserController\mainAction().
|
protected |
Get the allowed items or tabs
Definition at line 421 of file AbstractLinkBrowserController.php.
References GeneralUtility\trimExplode().
|
protected |
Get the allowed link attributes
Definition at line 445 of file AbstractLinkBrowserController.php.
References GeneralUtility\trimExplode().
Referenced by AbstractLinkBrowserController\renderLinkAttributeFields().
|
protected |
Definition at line 659 of file AbstractLinkBrowserController.php.
References $GLOBALS.
Referenced by AbstractLinkBrowserController\getLinkHandlers(), and BrowseLinksController\initVariables().
|
protected |
Get attributes for the body tag
Definition at line 583 of file AbstractLinkBrowserController.php.
References AbstractLinkBrowserController\$parameters, AbstractLinkBrowserController\getUrlParameters(), and GeneralUtility\implodeArrayForUrl().
Referenced by AbstractLinkBrowserController\initDocumentTemplate().
getConfiguration | ( | ) |
Retrieve the configuration
Definition at line 628 of file AbstractLinkBrowserController.php.
|
abstractprotected |
Return the ID of current page
Referenced by AbstractLinkBrowserController\getLinkHandlers().
getDisplayedLinkHandlerId | ( | ) |
Definition at line 635 of file AbstractLinkBrowserController.php.
References AbstractLinkBrowserController\$displayedLinkHandlerId.
|
protected |
Definition at line 651 of file AbstractLinkBrowserController.php.
References $GLOBALS.
Referenced by BrowseLinksController\getClassField(), AbstractLinkBrowserController\getLinkAttributeFieldDefinitions(), BrowseLinksController\getPageConfigLabel(), BrowseLinksController\getRelField(), BrowseLinksController\getTargetField(), BrowseLinksController\getTitleField(), AbstractLinkBrowserController\init(), BrowseLinksController\init(), AbstractLinkBrowserController\renderCurrentUrl(), BrowseLinksController\renderCurrentUrl(), and AbstractLinkBrowserController\renderLinkAttributeFields().
|
protected |
Create an array of link attribute field rendering definitions
Definition at line 496 of file AbstractLinkBrowserController.php.
References $lang, and AbstractLinkBrowserController\getLanguageService().
Referenced by AbstractLinkBrowserController\renderLinkAttributeFields().
|
protected |
Reads the configured link handlers from page TSconfig
Definition at line 268 of file AbstractLinkBrowserController.php.
References AbstractLinkBrowserController\$linkHandlers, AbstractLinkBrowserController\getBackendUser(), AbstractLinkBrowserController\getCurrentPageId(), and BackendUtility\getPagesTSconfig().
getParameters | ( | ) |
Definition at line 618 of file AbstractLinkBrowserController.php.
References AbstractLinkBrowserController\$parameters.
getScriptUrl | ( | ) |
Definition at line 643 of file AbstractLinkBrowserController.php.
References AbstractLinkBrowserController\$thisScript.
getUrlParameters | ( | array | $overrides = null | ) |
array | $overrides |
Definition at line 571 of file AbstractLinkBrowserController.php.
References AbstractLinkBrowserController\$displayedLinkHandlerId.
Referenced by AbstractLinkBrowserController\getBodyTagAttributes().
|
protected |
Initialize the controller
Definition at line 128 of file AbstractLinkBrowserController.php.
References AbstractLinkBrowserController\getLanguageService().
Referenced by AbstractLinkBrowserController\__construct().
|
protected |
Initialize document template object
Definition at line 324 of file AbstractLinkBrowserController.php.
References AbstractLinkBrowserController\getBodyTagAttributes(), and GeneralUtility\makeInstance().
Referenced by AbstractLinkBrowserController\mainAction().
|
protected |
Initialize hook objects implementing the interface
\UnexpectedValueException |
Definition at line 139 of file AbstractLinkBrowserController.php.
References $GLOBALS, and GeneralUtility\makeInstance().
Referenced by AbstractLinkBrowserController\__construct().
|
protected |
ServerRequestInterface | $request |
Definition at line 215 of file AbstractLinkBrowserController.php.
References GeneralUtility\deprecationLog(), and ServerRequestInterface\getQueryParams().
Referenced by AbstractLinkBrowserController\mainAction().
mainAction | ( | ServerRequestInterface | $request, |
ResponseInterface | $response | ||
) |
Injects the request object for the current request or subrequest As this controller goes only through the main() method, it is rather simple for now
ServerRequestInterface | $request | the current request |
ResponseInterface | $response | the prepared response object |
Definition at line 162 of file AbstractLinkBrowserController.php.
References $response, AbstractLinkBrowserController\determineScriptUrl(), MessageInterface\getBody(), AbstractLinkBrowserController\initDocumentTemplate(), AbstractLinkBrowserController\initVariables(), AbstractLinkBrowserController\renderCurrentUrl(), and AbstractLinkBrowserController\renderLinkAttributeFields().
|
protected |
Render the currently set URL
Definition at line 343 of file AbstractLinkBrowserController.php.
References AbstractLinkBrowserController\getLanguageService().
Referenced by AbstractLinkBrowserController\mainAction().
renderLinkAttributeFields | ( | ) |
Renders the link attributes for the selected link handler
Definition at line 463 of file AbstractLinkBrowserController.php.
References AbstractLinkBrowserController\getAllowedLinkAttributes(), AbstractLinkBrowserController\getLanguageService(), and AbstractLinkBrowserController\getLinkAttributeFieldDefinitions().
Referenced by AbstractLinkBrowserController\mainAction().
|
protected |
Link handler responsible for the current active link
Definition at line 70 of file AbstractLinkBrowserController.php.
|
protected |
Definition at line 77 of file AbstractLinkBrowserController.php.
Referenced by BrowseLinksController\getClassField(), BrowseLinksController\getTitleField(), and BrowseLinksController\renderLinkAttributeFields().
|
protected |
Definition at line 63 of file AbstractLinkBrowserController.php.
Referenced by LinkBrowserController\initCurrentUrl(), and BrowseLinksController\initVariables().
|
protected |
Link handler to be displayed
Definition at line 84 of file AbstractLinkBrowserController.php.
|
protected |
|
protected |
Definition at line 37 of file AbstractLinkBrowserController.php.
|
protected |
Definition at line 112 of file AbstractLinkBrowserController.php.
|
protected |
Definition at line 100 of file AbstractLinkBrowserController.php.
|
protected |
Definition at line 107 of file AbstractLinkBrowserController.php.
|
protected |
Definition at line 54 of file AbstractLinkBrowserController.php.
Referenced by AbstractLinkBrowserController\getLinkHandlers().
|
protected |
Definition at line 42 of file AbstractLinkBrowserController.php.
Referenced by LinkBrowserController\getBodyTagAttributes(), BrowseLinksController\getBodyTagAttributes(), AbstractLinkBrowserController\getBodyTagAttributes(), LinkBrowserController\getCurrentPageId(), and AbstractLinkBrowserController\getParameters().
|
protected |
Definition at line 49 of file AbstractLinkBrowserController.php.
Referenced by AbstractLinkBrowserController\getScriptUrl().