PHP Class FormHelper, spaghettiphp

Automatic generation of HTML FORMs from given data.
Inheritance: extends AppHelper
Show file Open project: spaghettiphp/spaghettiphp Class Usage Examples

Public Methods

Method Description
close ( $submit = null, $attributes = [] )
create ( $action = null, $options = [] )
input ( $name, $options = [] )
radio ( $name, $options = [] )
select ( $name, $options = [] )
submit ( $text, $attributes = [] )

Protected Methods

Method Description
div ( $class, $content, $type )

Method Details

close() public method

public close ( $submit = null, $attributes = [] )

create() public method

public create ( $action = null, $options = [] )

div() protected method

protected div ( $class, $content, $type )

input() public method

public input ( $name, $options = [] )

radio() public method

public radio ( $name, $options = [] )

select() public method

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

submit() public method

public submit ( $text, $attributes = [] )