‪TYPO3CMS  ‪main
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 renderStatic (array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext)
 

Static Protected Member Functions

static renderBackendLinkWithCoreContext (ServerRequestInterface $request, array $arguments)
 
static renderFrontendLinkWithCoreContext (ServerRequestInterface $request, array $arguments, \Closure $renderChildrenClosure)
 
static renderWithExtbaseContext (ExtbaseRequestInterface $request, array $arguments)
 

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 78 of file PageViewHelper.php.

Member Function Documentation

◆ initializeArguments()

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

Definition at line 81 of file PageViewHelper.php.

◆ renderBackendLinkWithCoreContext()

static TYPO3\CMS\Fluid\ViewHelpers\Uri\PageViewHelper::renderBackendLinkWithCoreContext ( ServerRequestInterface  $request,
array  $arguments 
)
staticprotected

◆ renderFrontendLinkWithCoreContext()

static TYPO3\CMS\Fluid\ViewHelpers\Uri\PageViewHelper::renderFrontendLinkWithCoreContext ( ServerRequestInterface  $request,
array  $arguments,
\Closure  $renderChildrenClosure 
)
staticprotected

◆ renderStatic()

static TYPO3\CMS\Fluid\ViewHelpers\Uri\PageViewHelper::renderStatic ( array  $arguments,
\Closure  $renderChildrenClosure,
RenderingContextInterface  $renderingContext 
)
static

◆ renderWithExtbaseContext()

static TYPO3\CMS\Fluid\ViewHelpers\Uri\PageViewHelper::renderWithExtbaseContext ( ExtbaseRequestInterface  $request,
array  $arguments 
)
staticprotected