TypolinkViewHelper extends AbstractViewHelper

ViewHelper

This class is the implementation of a Fluid ViewHelper.

View this class in the TYPO3 ViewHelper reference: <f:link.typolink>

FinalYes

ViewHelper to create links from fields supported by the link wizard

  <f:link.typolink parameter="123" additionalParams="&u=b" language="2" />
Tags
see
https://docs.typo3.org/permalink/t3viewhelper:typo3-fluid-link-typolink

Table of Contents

Properties

$escapeOutput  : bool

Methods

initializeArguments()  : void
render()  : string
invokeContentObjectRenderer()  : string
mergeTypoLinkConfiguration()  : array<string|int, mixed>
Merges view helper arguments with typolink parts.
serializeTagParameters()  : string

Properties

$escapeOutput

protected bool $escapeOutput = false

Methods

initializeArguments()

public initializeArguments() : void

render()

public render() : string
Tags
throws
InvalidArgumentException
throws
UnexpectedValueException
Return values
string

invokeContentObjectRenderer()

protected static invokeContentObjectRenderer(array<string|int, mixed> $arguments, string $typoLinkParameter, string $content, ServerRequestInterface|null $request) : string
Parameters
$arguments : array<string|int, mixed>
$typoLinkParameter : string
$content : string
$request : ServerRequestInterface|null
Return values
string

mergeTypoLinkConfiguration()

Merges view helper arguments with typolink parts.

protected static mergeTypoLinkConfiguration(array<string|int, mixed> $typoLinkConfiguration, array<string|int, mixed> $arguments) : array<string|int, mixed>
Parameters
$typoLinkConfiguration : array<string|int, mixed>
$arguments : array<string|int, mixed>
Return values
array<string|int, mixed>

serializeTagParameters()

protected static serializeTagParameters(array<string|int, mixed> $arguments) : string
Parameters
$arguments : array<string|int, mixed>
Return values
string

        
On this page

Search results