‪TYPO3CMS  11.5
TYPO3\CMS\Fluid\ViewHelpers\Uri\PageViewHelper Class Reference
Inheritance diagram for TYPO3\CMS\Fluid\ViewHelpers\Uri\PageViewHelper:

Public Member Functions

 initializeArguments ()
 

Static Public Member Functions

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

Detailed Description

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.

Definition at line 62 of file PageViewHelper.php.

Member Function Documentation

◆ initializeArguments()

TYPO3\CMS\Fluid\ViewHelpers\Uri\PageViewHelper::initializeArguments ( )

Initialize arguments

Definition at line 68 of file PageViewHelper.php.

◆ renderStatic()

static string TYPO3\CMS\Fluid\ViewHelpers\Uri\PageViewHelper::renderStatic ( array  $arguments,
\Closure  $renderChildrenClosure,
RenderingContextInterface  $renderingContext 
)
static
Parameters
array$arguments
\Closure$renderChildrenClosure
RenderingContextInterface$renderingContext
Returns
‪string Rendered page URI

Definition at line 89 of file PageViewHelper.php.

References TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger().