PageViewHelper

class \TYPO3\CMS\Fluid\ViewHelpers\Uri\PageViewHelper

Extends
AbstractViewHelper
Uses
CompileWithRenderStatic

A ViewHelper for creating URIs to TYPO3 pages.

Examples

URI to the current page

::

<f:uri.page>page link</f:uri.page>

/page/path/name.html

Depending on current page, routing and page path configuration.

Query parameters

::

<f:uri.page pageUid="1" additionalParams="{foo: 'bar'}" />

/page/path/name.html?foo=bar

Depending on current page, routing and page path configuration.

Query parameters for extensions

::

<f:uri.page pageUid="1" additionalParams="{extension_key: {foo: 'bar'}}" />

/page/path/name.html?extension_key[foo]=bar

Depending on current page, routing and page path configuration.

Table of Contents

Methods

initializeArguments()  : mixed
Initialize arguments
renderStatic()  : string

Methods

initializeArguments()

Initialize arguments

public initializeArguments() : mixed

renderStatic()

public static renderStatic(array $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string

Parameters

$arguments : array
$renderChildrenClosure : Closure
$renderingContext : RenderingContextInterface

Return values

string —

Rendered page URI

On this page