Method | Description | |
---|---|---|
initializeArguments ( ) : void | Default initialisation of arguments - will be used if the implementing ViewHelper does not itself define this method. The default behavior is to only register the "as" argument. |
Method | Description | |
---|---|---|
registerAsArgument ( ) : void | Registers the "as" argument for use with the implementing ViewHelper. | |
renderChildrenWithVariableOrReturnInput ( string $variable = null ) : mixed | ||
renderChildrenWithVariableOrReturnInputStatic ( mixed $variable, string $as, TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext, Closure $renderChildrenClosure ) : mixed | ||
renderChildrenWithVariables ( array $variables ) : mixed | Renders tag content of ViewHelper and inserts variables in $variables into $variableContainer while keeping backups of each existing variable, restoring it after rendering. | |
renderChildrenWithVariablesStatic ( array $variables, TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer $templateVariableContainer, Closure $renderChildrenClosure ) : mixed | Renders tag content of ViewHelper and inserts variables in $variables into $variableContainer while keeping backups of each existing variable, restoring it after rendering. |
Method | Description | |
---|---|---|
backupVariables ( array $variables, TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer $templateVariableContainer ) : array | ||
restoreVariables ( array $variables, array $backups, TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer $templateVariableContainer ) : void |
public initializeArguments ( ) : void | ||
return | void |
protected registerAsArgument ( ) : void | ||
return | void |
protected renderChildrenWithVariableOrReturnInput ( string $variable = null ) : mixed | ||
$variable | string | |
return | mixed |
protected static renderChildrenWithVariableOrReturnInputStatic ( mixed $variable, string $as, TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext, Closure $renderChildrenClosure ) : mixed | ||
$variable | mixed | |
$as | string | |
$renderingContext | TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface | |
$renderChildrenClosure | Closure | |
return | mixed |
protected renderChildrenWithVariables ( array $variables ) : mixed | ||
$variables | array | |
return | mixed |
protected static renderChildrenWithVariablesStatic ( array $variables, TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer $templateVariableContainer, Closure $renderChildrenClosure ) : mixed | ||
$variables | array | |
$templateVariableContainer | TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer | |
$renderChildrenClosure | Closure | |
return | mixed |