TYPO3
7.6
|
Public Member Functions | |
__construct () | |
initialize (AbstractLinkBrowserController $linkBrowser, $identifier, array $configuration) | |
getLinkAttributes () | |
modifyLinkAttributes (array $fieldDefinitions) | |
isUpdateSupported () | |
Protected Member Functions | |
setTemporaryDbMounts () | |
getBackendUser () | |
getLanguageService () | |
Protected Attributes | |
$linkAttributes = [ 'target', 'title', 'class', 'params', 'rel' ] | |
$updateSupported = true | |
$linkBrowser | |
$iconFactory | |
Base class for link handlers
NOTE: This class should only be used internally. Extensions must implement the LinkHandlerInterface.
Definition at line 28 of file AbstractLinkHandler.php.
__construct | ( | ) |
Constructor
Definition at line 57 of file AbstractLinkHandler.php.
|
protected |
Definition at line 135 of file AbstractLinkHandler.php.
References $GLOBALS.
Referenced by FileLinkHandler\expandFolder(), PageLinkHandler\expandPage(), PageLinkHandler\formatCurrentUrl(), PageLinkHandler\getTemporaryTreeMountCancelNotice(), AbstractLinkHandler\setTemporaryDbMounts(), and PageLinkHandler\setTemporaryDbMounts().
|
protected |
Definition at line 143 of file AbstractLinkHandler.php.
References $GLOBALS.
Referenced by PageLinkHandler\expandPage(), PageLinkHandler\formatCurrentUrl(), PageLinkHandler\getTemporaryTreeMountCancelNotice(), FolderLinkHandler\getTitle(), FileLinkHandler\getTitle(), PageLinkHandler\modifyLinkAttributes(), UrlLinkHandler\render(), and MailLinkHandler\render().
getLinkAttributes | ( | ) |
Definition at line 79 of file AbstractLinkHandler.php.
References AbstractLinkHandler\$linkAttributes.
initialize | ( | AbstractLinkBrowserController | $linkBrowser, |
$identifier, | |||
array | $configuration | ||
) |
Initialize the handler
AbstractLinkBrowserController | $linkBrowser | |
string | $identifier | |
array | $configuration | Page TSconfig |
Definition at line 70 of file AbstractLinkHandler.php.
References AbstractLinkHandler\$linkBrowser, and GeneralUtility\makeInstance().
isUpdateSupported | ( | ) |
Return TRUE if the handler supports to update a link.
This is useful for e.g. file or page links, when only attributes are changed.
Definition at line 99 of file AbstractLinkHandler.php.
References AbstractLinkHandler\$updateSupported.
modifyLinkAttributes | ( | array | $fieldDefinitions | ) |
string[] | $fieldDefinitions Array of link attribute field definitions |
Definition at line 88 of file AbstractLinkHandler.php.
|
protected |
Definition at line 107 of file AbstractLinkHandler.php.
References GeneralUtility\_GET(), AbstractLinkHandler\getBackendUser(), and GeneralUtility\intExplode().
|
protected |
Definition at line 52 of file AbstractLinkHandler.php.
|
protected |
Definition at line 37 of file AbstractLinkHandler.php.
Referenced by AbstractLinkHandler\getLinkAttributes().
|
protected |
Definition at line 47 of file AbstractLinkHandler.php.
Referenced by AbstractLinkHandler\initialize().
|
protected |
Definition at line 42 of file AbstractLinkHandler.php.
Referenced by AbstractLinkHandler\isUpdateSupported().