TYPO3
7.6
|
Static Protected Member Functions | |
static | createTypolinkParameterArrayFromArguments ($parameter, $target= '', $class= '', $title= '', $additionalParams= '') |
Additional Inherited Members | |
Static Public Member Functions inherited from AbstractViewHelper | |
static | renderStatic (array $arguments,\Closure $renderChildrenClosure,\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) |
Static Public Member Functions inherited from CompilableInterface | |
static | renderStatic (array $arguments,\Closure $renderChildrenClosure,\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) |
Protected Member Functions inherited from AbstractViewHelper | |
registerArgument ($name, $type, $description, $required=false, $defaultValue=null) | |
overrideArgument ($name, $type, $description, $required=false, $defaultValue=null) | |
callRenderMethod () | |
getLogger () | |
buildRenderChildrenClosure () | |
hasArgument ($argumentName) | |
Protected Attributes inherited from AbstractViewHelper | |
$arguments | |
$templateVariableContainer | |
$controllerContext | |
$renderingContext | |
$renderChildrenClosure = null | |
$viewHelperVariableContainer | |
$objectManager | |
$escapingInterceptorEnabled = true | |
A ViewHelper to create links from fields supported by the link wizard
== Example ==
{link} contains "19 _blank - "testtitle with whitespace" &X=y"
<f:link.typolink parameter="{link}"> Linktext </f:link.typolink> <output> Linktext </output>
<f:link.typolink parameter="{link}" target="_blank" class="ico-class" title="some title" additionalParams="&u=b" additionalAttributes="{type:'button'}"> Linktext </f:link.typolink>
<output> Linktext </output>
Definition at line 54 of file Link/TypolinkViewHelper.php.
|
staticprotected |
Transforms ViewHelper arguments to typo3link.parameters.typoscript option as array.
string | $parameter | Example: 19 _blank - "testtitle \"with whitespace"" &X=y |
string | $target | |
string | $class | |
string | $title | |
string | $additionalParams |
Definition at line 143 of file Link/TypolinkViewHelper.php.
References GeneralUtility\makeInstance().
render | ( | $parameter, | |
$target = '' , |
|||
$class = '' , |
|||
$title = '' , |
|||
$additionalParams = '' , |
|||
$additionalAttributes = array() |
|||
) |
Render
string | $parameter | stdWrap.typolink style parameter string |
string | $target | |
string | $class | |
string | $title | |
string | $additionalParams | |
array | $additionalAttributes |
Definition at line 68 of file Link/TypolinkViewHelper.php.
References AbstractViewHelper\buildRenderChildrenClosure().