PageViewHelper extends AbstractTagBasedViewHelper

ViewHelper

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::

page link

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::

page link

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::

page link

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

Methods

initializeArguments()

public initializeArguments() : void

render()

public render() : string
Return values
string

renderBackendLinkWithCoreContext()

protected renderBackendLinkWithCoreContext(ServerRequestInterface $request) : string
Parameters
$request : ServerRequestInterface
Return values
string

renderFrontendLinkWithCoreContext()

protected renderFrontendLinkWithCoreContext(ServerRequestInterface $request) : string
Parameters
$request : ServerRequestInterface
Return values
string

        
On this page

Search results