‪TYPO3CMS  ‪main
TYPO3\CMS\Fluid\ViewHelpers\Uri\TypolinkViewHelper Class Reference
Inheritance diagram for TYPO3\CMS\Fluid\ViewHelpers\Uri\TypolinkViewHelper:

Public Member Functions

 initializeArguments ()
 

Static Public Member Functions

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

Static Protected Member Functions

static invokeContentObjectRenderer (array $arguments, string $typoLinkParameter)
 
static mergeTypoLinkConfiguration (array $typoLinkConfiguration, array $arguments)
 

Detailed Description

A ViewHelper to create uris from fields supported by the link wizard.

Example

{link} contains 19 - - - &X=y

Please note that due to the nature of typolink you have to provide a full set of parameters. If you use the parameter only, then target, class and title will be discarded.

Minimal usage

::

<f:uri.typolink parameter="{link}" />

/page/path/name.html?X=y

Depending on routing and page path configuration.

Full parameter usage

::

<f:uri.typolink parameter="{link}" additionalParams="&u=b" />

/page/path/name.html?X=y&u=b

Depending on routing and page path configuration.

Definition at line 61 of file TypolinkViewHelper.php.

Member Function Documentation

◆ initializeArguments()

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

Definition at line 64 of file TypolinkViewHelper.php.

◆ invokeContentObjectRenderer()

static TYPO3\CMS\Fluid\ViewHelpers\Uri\TypolinkViewHelper::invokeContentObjectRenderer ( array  $arguments,
string  $typoLinkParameter 
)
staticprotected

◆ mergeTypoLinkConfiguration()

static TYPO3\CMS\Fluid\ViewHelpers\Uri\TypolinkViewHelper::mergeTypoLinkConfiguration ( array  $typoLinkConfiguration,
array  $arguments 
)
staticprotected

◆ renderStatic()

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