Skip to content

Commit

Permalink
Adding some additional documentation for FormHelper::inputs().
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 27, 2010
1 parent 8365109 commit b9383f1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cake/libs/view/helpers/form.php
Expand Up @@ -587,6 +587,13 @@ function label($fieldName = null, $text = null, $options = array()) {
* ));
* }}}
*
* 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.
Expand Down

0 comments on commit b9383f1

Please sign in to comment.