BootstrapFormWrapper
in package
implements
AdiantiFormInterface
Bootstrap form decorator for Adianti Framework
Tags
Table of Contents
Interfaces
- AdiantiFormInterface
- Form Interface
Properties
- $currentGroup : mixed
- $decorated : mixed
- $element : mixed
Methods
- __call() : mixed
- Redirect calls to decorated object
- __construct() : mixed
- Constructor method
- __set() : mixed
- Redirect assigns to decorated object
- addField() : mixed
- Add form field
- clear() : mixed
- Clear form
- delField() : mixed
- Del form field
- getData() : mixed
- Get form data
- getElement() : mixed
- Return render element
- getField() : mixed
- Return form field
- getFields() : mixed
- Return form fields
- getName() : mixed
- Get form name
- setClientValidation() : mixed
- Turn on/off client validation
- setData() : mixed
- Set form data
- setFields() : mixed
- Set form fields
- setName() : mixed
- Set form name
- show() : mixed
- Shows the decorated form
- validate() : mixed
- Validate form data
Properties
$currentGroup
private
mixed
$currentGroup
$decorated
private
mixed
$decorated
$element
private
mixed
$element
Methods
__call()
Redirect calls to decorated object
public
__call(mixed $method, mixed $parameters) : mixed
Parameters
- $method : mixed
- $parameters : mixed
__construct()
Constructor method
public
__construct(TQuickForm $form[, mixed $class = 'form-horizontal' ]) : mixed
Parameters
- $form : TQuickForm
- $class : mixed = 'form-horizontal'
__set()
Redirect assigns to decorated object
public
__set(mixed $property, mixed $value) : mixed
Parameters
- $property : mixed
- $value : mixed
addField()
Add form field
public
addField(AdiantiWidgetInterface $field) : mixed
Parameters
- $field : AdiantiWidgetInterface
clear()
Clear form
public
clear() : mixed
delField()
Del form field
public
delField(AdiantiWidgetInterface $field) : mixed
Parameters
- $field : AdiantiWidgetInterface
getData()
Get form data
public
getData([mixed $class = 'StdClass' ]) : mixed
Parameters
- $class : mixed = 'StdClass'
getElement()
Return render element
public
getElement() : mixed
getField()
Return form field
public
getField(mixed $name) : mixed
Parameters
- $name : mixed
getFields()
Return form fields
public
getFields() : mixed
getName()
Get form name
public
getName() : mixed
setClientValidation()
Turn on/off client validation
public
setClientValidation(mixed $bool) : mixed
Parameters
- $bool : mixed
setData()
Set form data
public
setData(mixed $object) : mixed
Parameters
- $object : mixed
setFields()
Set form fields
public
setFields(mixed $fields) : mixed
Parameters
- $fields : mixed
setName()
Set form name
public
setName(mixed $name) : mixed
Parameters
- $name : mixed
show()
Shows the decorated form
public
show() : mixed
validate()
Validate form data
public
validate() : mixed