PageViewHelper extends AbstractViewHelper uses CompileWithRenderStatic

ViewHelper

This class is the implementation of a Fluid ViewHelper.

View this class in the TYPO3 ViewHelper reference: <f:uri.page>

FinalYes

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<string|int, mixed> $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string
Parameters
$arguments : array<string|int, mixed>
$renderChildrenClosure : Closure
$renderingContext : RenderingContextInterface
Return values
string

renderBackendLinkWithCoreContext()

protected static renderBackendLinkWithCoreContext(ServerRequestInterface $request, array<string|int, mixed> $arguments) : string
Parameters
$request : ServerRequestInterface
$arguments : array<string|int, mixed>
Return values
string

renderFrontendLinkWithCoreContext()

protected static renderFrontendLinkWithCoreContext(ServerRequestInterface $request, array<string|int, mixed> $arguments, Closure $renderChildrenClosure) : string
Parameters
$request : ServerRequestInterface
$arguments : array<string|int, mixed>
$renderChildrenClosure : Closure
Return values
string

renderWithExtbaseContext()

protected static renderWithExtbaseContext(RequestInterface $request, array<string|int, mixed> $arguments) : string
Parameters
$request : RequestInterface
$arguments : array<string|int, mixed>
Return values
string

        
On this page

Search results