PHP Class FluidTYPO3\Flux\ViewHelpers\AbstractFormViewHelper

Inheritance: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper, implements TYPO3\CMS\Fluid\Core\ViewHelper\Facets\CompilableInterface
Show file Open project: fluidtypo3/flux

Public Methods

Method Description
getFormFromRenderingContext ( TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : FluidTYPO3\Flux\Form\FormInterface
render ( ) : void
renderChildren ( ) : string
renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : void

Protected Methods

Method Description
getContainer ( ) : FluidTYPO3\Flux\Form\ContainerInterface
getContainerFromRenderingContext ( TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : mixed
getExtensionName ( ) : string
getExtensionNameFromRenderingContextOrArguments ( TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext, array $arguments ) : string
getForm ( ) : Form
getGrid ( string $gridName = 'grid' ) : FluidTYPO3\Flux\Form\Container\Grid
getGridFromRenderingContext ( TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext, string $gridName = 'grid' ) : FluidTYPO3\Flux\Form\Container\Grid
setContainer ( FluidTYPO3\Flux\Form\FormInterface $container ) : void
setContainerInRenderingContext ( TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext, FluidTYPO3\Flux\Form\FormInterface $container ) : void
setExtensionNameInRenderingContext ( TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext, string $name )

Method Details

getContainer() protected method

protected getContainer ( ) : FluidTYPO3\Flux\Form\ContainerInterface
return FluidTYPO3\Flux\Form\ContainerInterface

getContainerFromRenderingContext() protected static method

protected static getContainerFromRenderingContext ( TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : mixed
$renderingContext TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface
return mixed

getExtensionName() protected method

protected getExtensionName ( ) : string
return string

getExtensionNameFromRenderingContextOrArguments() protected static method

protected static getExtensionNameFromRenderingContextOrArguments ( TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext, array $arguments ) : string
$renderingContext TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface
$arguments array
return string

getForm() protected method

protected getForm ( ) : Form
return FluidTYPO3\Flux\Form

getFormFromRenderingContext() public static method

public static getFormFromRenderingContext ( TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : FluidTYPO3\Flux\Form\FormInterface
$renderingContext TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface
return FluidTYPO3\Flux\Form\FormInterface

getGrid() protected method

protected getGrid ( string $gridName = 'grid' ) : FluidTYPO3\Flux\Form\Container\Grid
$gridName string
return FluidTYPO3\Flux\Form\Container\Grid

getGridFromRenderingContext() protected static method

protected static getGridFromRenderingContext ( TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext, string $gridName = 'grid' ) : FluidTYPO3\Flux\Form\Container\Grid
$renderingContext TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface
$gridName string
return FluidTYPO3\Flux\Form\Container\Grid

render() public method

public render ( ) : void
return void

renderChildren() public method

public renderChildren ( ) : string
return string

renderStatic() public static method

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
return void

setContainer() protected method

protected setContainer ( FluidTYPO3\Flux\Form\FormInterface $container ) : void
$container FluidTYPO3\Flux\Form\FormInterface
return void

setContainerInRenderingContext() protected static method

protected static setContainerInRenderingContext ( TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext, FluidTYPO3\Flux\Form\FormInterface $container ) : void
$renderingContext TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface
$container FluidTYPO3\Flux\Form\FormInterface
return void

setExtensionNameInRenderingContext() protected static method

protected static setExtensionNameInRenderingContext ( TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext, string $name )
$renderingContext TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface
$name string