PageViewHelper extends AbstractTagBasedViewHelper
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <f:link.page>
FinalYes
A ViewHelper for creating links to TYPO3 pages.
Examples
Link to the current page
::
<f:link.page>page link</f:link.page>
Output::
Depending on current page, routing and page path configuration.
Query parameters
::
<f:link.page pageUid="1" additionalParams="{foo: 'bar'}">page link</f:link.page>
Output::
Depending on current page, routing and page path configuration.
Query parameters for extensions
::
<f:link.page pageUid="1" additionalParams="{extension_key: {foo: 'bar'}}">page link</f:link.page>
Output::
Depending on current page, routing and page path configuration.
Table of Contents
Properties
- $tagName : string
Methods
- initializeArguments() : void
- render() : string
- renderBackendLinkWithCoreContext() : string
- renderFrontendLinkWithCoreContext() : string
- renderWithExtbaseContext() : string
Properties
$tagName
protected
string
$tagName
= 'a'
Methods
initializeArguments()
public
initializeArguments() : void
render()
public
render() : string
Return values
stringrenderBackendLinkWithCoreContext()
protected
renderBackendLinkWithCoreContext(ServerRequestInterface $request) : string
Parameters
- $request : ServerRequestInterface
Return values
stringrenderFrontendLinkWithCoreContext()
protected
renderFrontendLinkWithCoreContext(ServerRequestInterface $request) : string
Parameters
- $request : ServerRequestInterface
Return values
stringrenderWithExtbaseContext()
protected
renderWithExtbaseContext(RequestInterface $request) : string
Parameters
- $request : RequestInterface