PHP Class AdamWathan\BootForms\BasicFormBuilder

Mostrar archivo Open project: adamwathan/bootforms

Protected Properties

Property Type Description
$builder

Public Methods

Method Description
__call ( $method, $parameters )
__construct ( FormBuilder $builder )
button ( $value, $name = null, $type = "btn-default" )
checkbox ( $label, $name )
date ( $label, $name, $value = null )
dateTimeLocal ( $label, $name, $value = null )
email ( $label, $name, $value = null )
file ( $label, $name, $value = null )
inlineCheckbox ( $label, $name )
inlineRadio ( $label, $name, $value = null )
inputGroup ( $label, $name, $value = null )
password ( $label, $name )
radio ( $label, $name, $value = null )
select ( $label, $name, $options = [] )
submit ( $value = "Submit", $type = "btn-default" )
text ( $label, $name, $value = null )
textarea ( $label, $name )

Protected Methods

Method Description
buildCheckGroup ( $label, $name, $control )
checkGroup ( $label, $name, $control )
formGroup ( $label, $name, $control )
radioGroup ( $label, $name, $control )
wrap ( $group )

Method Details

__call() public method

public __call ( $method, $parameters )

__construct() public method

public __construct ( FormBuilder $builder )
$builder AdamWathan\Form\FormBuilder

buildCheckGroup() protected method

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

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 )

date() public method

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

dateTimeLocal() public method

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

email() public method

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

file() public method

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

formGroup() protected method

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

inlineCheckbox() public method

public inlineCheckbox ( $label, $name )

inlineRadio() public method

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

inputGroup() public method

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

password() public method

public password ( $label, $name )

radio() public method

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

radioGroup() protected method

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

select() public method

public select ( $label, $name, $options = [] )

submit() public method

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

text() public method

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

textarea() public method

public textarea ( $label, $name )

wrap() protected method

protected wrap ( $group )

Property Details

$builder protected_oe property

protected $builder