Adding some additional documentation for FormHelper::inputs().

This commit is contained in:
mark_story 2010-06-27 00:39:31 -04:00
parent 83651091ce
commit b9383f13dc

View file

@ -587,6 +587,13 @@ class FormHelper extends AppHelper {
* ));
* }}}
*
* In addition to fields control, inputs() allows you to use a few additional options.
*
* - `fieldset` Set to false to disable the fieldset. If a string is supplied it will be used as
* the classname for the fieldset element.
* - `legend` Set to false to disable the legend for the generated input set. Or supply a string
* to customize the legend text.
*
* @param mixed $fields An array of fields to generate inputs for, or null.
* @param array $blacklist a simple array of fields to not create inputs for.
* @return string Completed form inputs.