PHP Class AdamWathan\BootForms\HorizontalFormBuilder

Inheritance: extends BasicFormBuilder
Mostra file Open project: adamwathan/bootforms

Protected Properties

Property Type Description
$builder
$columnSizes

Public Methods

Method Description
__call ( $method, $parameters )
__construct ( FormBuilder $builder, $columnSizes = ['lg' => [2, 10]] )
button ( $value, $name = null, $type = "btn-default" )
checkbox ( $label, $name )
file ( $label, $name, $value = null )
open ( )
radio ( $label, $name, $value = null )
setColumnSizes ( $columnSizes )
submit ( $value = "Submit", $type = "btn-default" )

Protected Methods

Method Description
checkGroup ( $label, $name, $control )
formGroup ( $label, $name, $control )
getControlSizes ( )
getLabelClass ( )

Method Details

__call() public method

public __call ( $method, $parameters )

__construct() public method

public __construct ( FormBuilder $builder, $columnSizes = ['lg' => [2, 10]] )
$builder AdamWathan\Form\FormBuilder

button() public method

public button ( $value, $name = null, $type = "btn-default" )

checkGroup() protected method

protected checkGroup ( $label, $name, $control )

checkbox() public method

public checkbox ( $label, $name )

file() public method

public file ( $label, $name, $value = null )

formGroup() protected method

protected formGroup ( $label, $name, $control )

getControlSizes() protected method

protected getControlSizes ( )

getLabelClass() protected method

protected getLabelClass ( )

open() public method

public open ( )

radio() public method

public radio ( $label, $name, $value = null )

setColumnSizes() public method

public setColumnSizes ( $columnSizes )

submit() public method

public submit ( $value = "Submit", $type = "btn-default" )

Property Details

$builder protected_oe property

protected $builder

$columnSizes protected_oe property

protected $columnSizes