![]() |
TYPO3
7.6
|
Static Public Member Functions | |
static | renderStatic (array $arguments,\Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) |
![]() | |
static | renderStatic (array $arguments,\Closure $renderChildrenClosure,\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) |
![]() | |
static | renderStatic (array $arguments,\Closure $renderChildrenClosure,\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) |
Static Protected Member Functions | |
static | simulateFrontendEnvironment () |
static | resetFrontendEnvironment () |
Protected Attributes | |
$escapingInterceptorEnabled = false | |
![]() | |
$arguments | |
$templateVariableContainer | |
$controllerContext | |
$renderingContext | |
$renderChildrenClosure = null | |
$viewHelperVariableContainer | |
$objectManager | |
$escapingInterceptorEnabled = true | |
Static Protected Attributes | |
static | $tsfeBackup |
Additional Inherited Members | |
![]() | |
registerArgument ($name, $type, $description, $required=false, $defaultValue=null) | |
overrideArgument ($name, $type, $description, $required=false, $defaultValue=null) | |
callRenderMethod () | |
getLogger () | |
buildRenderChildrenClosure () | |
hasArgument ($argumentName) | |
Renders a string by passing it to a TYPO3 parseFunc. You can either specify a path to the TypoScript setting or set the parseFunc options directly. By default lib.parseFunc_RTE is used to parse the string.
== Examples ==
<f:format.html>foo bar. Some <LINK 1>link</LINK>.</f:format.html>
<output>
foo bar. Some link.
(depending on your TYPO3 setup) </output>
<f:format.html parseFuncTSPath="lib.parseFunc">foo bar. Some <LINK 1>link</LINK>.</f:format.html>
<output> foo bar. Some link. </output>
{someText -> f:format.html(parseFuncTSPath: 'lib.parseFunc')}
<output> foo bar. Some link. </output>
Definition at line 56 of file HtmlViewHelper.php.
render | ( | $parseFuncTSPath = 'lib.parseFunc_RTE' | ) |
string | $parseFuncTSPath | path to TypoScript parseFunc setup. |
Definition at line 76 of file HtmlViewHelper.php.
References AbstractViewHelper\buildRenderChildrenClosure().
|
static |
array | $arguments | |
callable | $renderChildrenClosure | |
RenderingContextInterface | $renderingContext |
Definition at line 94 of file HtmlViewHelper.php.
References AbstractViewHelper\$renderChildrenClosure, and GeneralUtility\makeInstance().
|
staticprotected |
Resets $GLOBALS['TSFE'] if it was previously changed by simulateFrontendEnvironment()
Definition at line 131 of file HtmlViewHelper.php.
References $GLOBALS.
|
staticprotected |
Copies the specified parseFunc configuration to $GLOBALS['TSFE']->tmpl->setup in Backend mode This somewhat hacky work around is currently needed because the parseFunc() function of relies on those variables to be set
Definition at line 115 of file HtmlViewHelper.php.
References $GLOBALS, AbstractViewHelper\$objectManager, ConfigurationManagerInterface\CONFIGURATION_TYPE_FULL_TYPOSCRIPT, and GeneralUtility\makeInstance().
|
protected |
Definition at line 70 of file HtmlViewHelper.php.
|
staticprotected |
Definition at line 61 of file HtmlViewHelper.php.