PageViewHelper

final 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()  : void
renderStatic()  : string
renderBackendLinkWithCoreContext()  : string
renderFrontendLinkWithCoreContext()  : string
renderWithExtbaseContext()  : string

Methods

initializeArguments()

public initializeArguments() : void

renderStatic()

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

Parameters

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

Return values

string

renderBackendLinkWithCoreContext()

protected static renderBackendLinkWithCoreContext(ServerRequestInterface $request, array $arguments) : string

Parameters

$request : ServerRequestInterface
$arguments : array

Return values

string

renderFrontendLinkWithCoreContext()

protected static renderFrontendLinkWithCoreContext(ServerRequestInterface $request, array $arguments, Closure $renderChildrenClosure) : string

Parameters

$request : ServerRequestInterface
$arguments : array
$renderChildrenClosure : Closure

Return values

string

renderWithExtbaseContext()

protected static renderWithExtbaseContext(RequestInterface $request, array $arguments) : string

Parameters

$request : RequestInterface
$arguments : array

Return values

string
On this page