TYPO3
7.6
|
Public Member Functions | |
canHandleLink (array $linkParts) | |
formatCurrentUrl () | |
expandPage ($expPageId) | |
getBodyTagAttributes () | |
getUrlParameters (array $values) | |
isCurrentlySelectedItem (array $values) | |
getScriptUrl () | |
modifyLinkAttributes (array $fieldDefinitions) | |
Public Member Functions inherited from AbstractLinkHandler | |
__construct () | |
initialize (AbstractLinkBrowserController $linkBrowser, $identifier, array $configuration) | |
getLinkAttributes () | |
modifyLinkAttributes (array $fieldDefinitions) | |
isUpdateSupported () | |
Public Member Functions inherited from LinkHandlerInterface | |
getLinkAttributes () | |
initialize (AbstractLinkBrowserController $linkBrowser, $identifier, array $configuration) | |
render (ServerRequestInterface $request) | |
isUpdateSupported () | |
Protected Member Functions | |
getTemporaryTreeMountCancelNotice () | |
setTemporaryDbMounts () | |
getDatabaseConnection () | |
Protected Member Functions inherited from AbstractLinkHandler | |
setTemporaryDbMounts () | |
getBackendUser () | |
getLanguageService () | |
Protected Attributes | |
$expandPage = 0 | |
$linkParts = [] | |
Protected Attributes inherited from AbstractLinkHandler | |
$linkAttributes = [ 'target', 'title', 'class', 'params', 'rel' ] | |
$updateSupported = true | |
$linkBrowser | |
$iconFactory | |
Link handler for page (and content) links
Definition at line 31 of file PageLinkHandler.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 |
Implements LinkHandlerInterface.
Definition at line 54 of file PageLinkHandler.php.
References PageLinkHandler\$linkParts, MathUtility\canBeInterpretedAsInteger(), BackendUtility\getRecordsByField(), and BackendUtility\getRecordWSOL().
expandPage | ( | $expPageId | ) |
This displays all content elements on a page and lets you create a link to the element.
int | $expPageId | Page uid to expand |
Definition at line 151 of file PageLinkHandler.php.
References MathUtility\canBeInterpretedAsInteger(), BackendUtility\deleteClause(), AbstractLinkHandler\getBackendUser(), PageLinkHandler\getDatabaseConnection(), AbstractLinkHandler\getLanguageService(), BackendUtility\getRecordTitle(), BackendUtility\getRecordWSOL(), Icon\SIZE_SMALL, and BackendUtility\versioningPlaceholderClause().
Referenced by PageLinkHandler\getUrlParameters().
formatCurrentUrl | ( | ) |
Format the current link for HTML output
Implements LinkHandlerInterface.
Definition at line 93 of file PageLinkHandler.php.
References $lang, GeneralUtility\fixed_lgd_cs(), AbstractLinkHandler\getBackendUser(), AbstractLinkHandler\getLanguageService(), and BackendUtility\getRecordWSOL().
getBodyTagAttributes | ( | ) |
Implements LinkHandlerInterface.
Definition at line 268 of file PageLinkHandler.php.
|
protected |
Definition at line 337 of file PageLinkHandler.php.
References $GLOBALS.
Referenced by PageLinkHandler\expandPage().
getScriptUrl | ( | ) |
Returns the URL of the current script
Implements LinkParameterProviderInterface.
Definition at line 306 of file PageLinkHandler.php.
|
protected |
Check if a temporary tree mount is set and return a cancel button
Definition at line 226 of file PageLinkHandler.php.
References AbstractLinkHandler\getBackendUser(), AbstractLinkHandler\getLanguageService(), AbstractMessage\INFO, GeneralUtility\linkThisScript(), and GeneralUtility\makeInstance().
getUrlParameters | ( | array | $values | ) |
array | $values | Array of values to include into the parameters or which might influence the parameters |
Implements LinkParameterProviderInterface.
Definition at line 283 of file PageLinkHandler.php.
References PageLinkHandler\expandPage().
isCurrentlySelectedItem | ( | array | $values | ) |
array | $values | Values to be checked |
Implements LinkParameterProviderInterface.
Definition at line 296 of file PageLinkHandler.php.
modifyLinkAttributes | ( | array | $fieldDefinitions | ) |
string[] | $fieldDefinitions Array of link attribute field definitions |
Implements LinkHandlerInterface.
Definition at line 315 of file PageLinkHandler.php.
References AbstractLinkHandler\getLanguageService().
|
protected |
Definition at line 240 of file PageLinkHandler.php.
References GeneralUtility\_GET(), AbstractLinkHandler\getBackendUser(), and GeneralUtility\intExplode().
|
protected |
Definition at line 36 of file PageLinkHandler.php.
|
protected |
Definition at line 43 of file PageLinkHandler.php.
Referenced by PageLinkHandler\canHandleLink().