TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ExternalPageUrlHandler Class Reference
Inheritance diagram for ExternalPageUrlHandler:
UrlHandlerInterface

Public Member Functions

 canHandleCurrentUrl ()
 
 handle ()
 

Protected Member Functions

 getTypoScriptFrontendController ()
 

Protected Attributes

 $externalUrl = ''
 

Detailed Description

Handles the redirection for external URL pages.

Definition at line 23 of file ExternalPageUrlHandler.php.

Member Function Documentation

canHandleCurrentUrl ( )

Checks if external URLs are enabled and if the current page points to an external URL.

Returns
bool

Implements UrlHandlerInterface.

Definition at line 35 of file ExternalPageUrlHandler.php.

References ExternalPageUrlHandler\getTypoScriptFrontendController().

getTypoScriptFrontendController ( )
protected
Returns

Definition at line 64 of file ExternalPageUrlHandler.php.

References $GLOBALS.

Referenced by ExternalPageUrlHandler\canHandleCurrentUrl().

handle ( )

Redirects the user to the detected external URL.

Returns
void

Implements UrlHandlerInterface.

Definition at line 56 of file ExternalPageUrlHandler.php.

References HttpUtility\HTTP_STATUS_303, and HttpUtility\redirect().

Member Data Documentation

$externalUrl = ''
protected

Definition at line 28 of file ExternalPageUrlHandler.php.