Class FormFieldset
This class describes the behavior of a form fieldset
-
Hawk\FormFieldset
uses
Hawk\Utils
Methods summary
public
|
#
__construct( Hawk\Form $form, string $name, array $inputs = array(), array $params = array() )
Constructor
Parameters
- $form
- The form this fieldset is asssociated to
- $name
- The fieldset name
- $inputs
- The inputs in this fieldset
- $params
- The parameters to apply to this fieldset
|
public
|
#
setParam( string $param, mixed $value )
Set a parameter of the fieldset
Set a parameter of the fieldset
Parameters
- $param
- the name of the parameter
- $value
- The value to apply
|
public
string
|
#
__toString( )
Display the parameter
Returns
string The HTML result to display
|
Properties summary
public
|
$name
|
|
public
|
$legend
The legend of the fieldset
The legend of the fieldset
|
|
public
|
$inputs
The inputs in this fieldset
The inputs in this fieldset
|
|
public
|
$form
The form this fieldset is associated to
The form this fieldset is associated to
|
|
public
string
|
$legendId
|
|