FluidTYPO3\Flux\ViewHelpers\AbstractFormViewHelper::renderStatic PHP Метод

renderStatic() публичный статический Метод

public static renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : void
$arguments array
$renderChildrenClosure Closure
$renderingContext TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface
Результат void
    public static function renderStatic(array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext)
    {
        $container = static::getContainerFromRenderingContext($renderingContext);
        $component = static::getComponent($renderingContext, $arguments, $renderChildrenClosure);
        if ($component != $container) {
            $container->add($component);
        }
        // rendering child nodes with Form's last sheet as active container
        static::setContainerInRenderingContext($renderingContext, $component);
        $renderChildrenClosure();
        static::setContainerInRenderingContext($renderingContext, $container);
        static::setExtensionNameInRenderingContext($renderingContext, static::getExtensionNameFromRenderingContextOrArguments($renderingContext, $arguments));
    }