FormRenderer

FormRenderer implements FormRendererInterface

FormRenderer

Handles turning the Rows and Elements of a Form into HTML output. Replaceable component for extensibility.

Methods

create

Create and return an instance of FormRenderer.

static FormRenderer::create( ): object

Return Value: object FormRenderer


setWrapper

Change the defailt HTML wrappers for a particular scope.

FormRenderer::setWrapper( string $name, string $value )

renderForm

Transform a Form object into a string of HTML and javascript output.

FormRenderer::renderForm( \Gibbon\Forms\Form $form ): string

Return Value: string


Last updated : September 15, 2018 b92362d