PageViewHelper extends AbstractViewHelper
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
- render() : string
- renderBackendLinkWithCoreContext() : string
- renderFrontendLinkWithCoreContext() : string
- renderWithExtbaseContext() : string
Methods
initializeArguments()
public
initializeArguments() : void
render()
public
render() : string
Return values
stringrenderBackendLinkWithCoreContext()
protected
static renderBackendLinkWithCoreContext(ServerRequestInterface $request, array<string|int, mixed> $arguments) : string
Parameters
- $request : ServerRequestInterface
- $arguments : array<string|int, mixed>
Return values
stringrenderFrontendLinkWithCoreContext()
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
stringrenderWithExtbaseContext()
protected
static renderWithExtbaseContext(RequestInterface $request, array<string|int, mixed> $arguments) : string
Parameters
- $request : RequestInterface
- $arguments : array<string|int, mixed>