PageViewHelper extends AbstractViewHelper uses CompileWithRenderStatic
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <f:uri.page>
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<string|int, mixed> $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string
Parameters
- $arguments : array<string|int, mixed>
- $renderChildrenClosure : Closure
- $renderingContext : RenderingContextInterface
Return values
string —Rendered page URI