TYPO3
7.6
|
Public Member Functions | |
getLinkAttributes () | |
modifyLinkAttributes (array $fieldDefinitions) | |
initialize (AbstractLinkBrowserController $linkBrowser, $identifier, array $configuration) | |
canHandleLink (array $linkParts) | |
formatCurrentUrl () | |
render (ServerRequestInterface $request) | |
isUpdateSupported () | |
getBodyTagAttributes () | |
Interface for link handlers displayed in the LinkBrowser
Definition at line 23 of file LinkHandlerInterface.php.
canHandleLink | ( | array | $linkParts | ) |
Checks if this is the handler for the given link
The handler may store this information locally for later usage.
array | $linkParts | Link parts as returned from TypoLinkCodecService |
Implemented in FileLinkHandler, MailLinkHandler, UrlLinkHandler, and PageLinkHandler.
formatCurrentUrl | ( | ) |
Format the current link for HTML output
Implemented in FileLinkHandler, PageLinkHandler, MailLinkHandler, and UrlLinkHandler.
getBodyTagAttributes | ( | ) |
Implemented in FileLinkHandler, PageLinkHandler, MailLinkHandler, and UrlLinkHandler.
getLinkAttributes | ( | ) |
initialize | ( | AbstractLinkBrowserController | $linkBrowser, |
$identifier, | |||
array | $configuration | ||
) |
Initialize the handler
AbstractLinkBrowserController | $linkBrowser | |
string | $identifier | |
array | $configuration | Page TSconfig |
isUpdateSupported | ( | ) |
Return TRUE if the handler supports to update a link.
This is useful for file or page links, when only attributes are changed.
modifyLinkAttributes | ( | array | $fieldDefinitions | ) |
string[] | $fieldDefinitions Array of link attribute field defintions |
Implemented in PageLinkHandler.
render | ( | ServerRequestInterface | $request | ) |
Render the link handler
ServerRequestInterface | $request |
Implemented in MailLinkHandler, and UrlLinkHandler.