![]() |
TYPO3
7.6
|
Protected Attributes | |
$escapingInterceptorEnabled = false | |
![]() | |
$arguments | |
$templateVariableContainer | |
$controllerContext | |
$renderingContext | |
$renderChildrenClosure = null | |
$viewHelperVariableContainer | |
$objectManager | |
$escapingInterceptorEnabled = true | |
Additional Inherited Members | |
![]() | |
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) |
![]() | |
registerArgument ($name, $type, $description, $required=false, $defaultValue=null) | |
overrideArgument ($name, $type, $description, $required=false, $defaultValue=null) | |
callRenderMethod () | |
getLogger () | |
buildRenderChildrenClosure () | |
hasArgument ($argumentName) | |
This ViewHelper prevents rendering of any content inside the tag Note: Contents of the comment will still be parsed thus throwing an Exception if it contains syntax errors. You can put child nodes in CDATA tags to avoid this.
= Examples =
Before <f:comment> This is completely hidden. <f:debug>This does not get parsed</f:debug> </f:comment> After
<output> Before After </output>
<f:comment><![CDATA[ <f:some.invalid.syntax /> ]]></f:comment>
<output> </output>
Definition at line 50 of file CommentViewHelper.php.
compile | ( | $argumentsVariableName, | |
$renderChildrenClosureVariableName, | |||
& | $initializationPhpCode, | ||
AbstractNode | $syntaxTreeNode, | ||
TemplateCompiler | $templateCompiler | ||
) |
The inner contents of a comment should not be rendered.
string | $argumentsVariableName | |
string | $renderChildrenClosureVariableName | |
string | $initializationPhpCode | |
\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode | $syntaxTreeNode | |
\TYPO3\CMS\Fluid\Core\Compiler\TemplateCompiler | $templateCompiler |
Definition at line 78 of file CommentViewHelper.php.
render | ( | ) |
|
protected |
Definition at line 55 of file CommentViewHelper.php.