Skip to content
Permalink
Browse files

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

  • Loading branch information...
markstory committed Jun 27, 2010
1 parent 8365109 commit b9383f13dcd02050b74ebba0bfe9d9b4d1487835
Showing with 7 additions and 0 deletions.
  1. +7 −0 cake/libs/view/helpers/form.php
@@ -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.

0 comments on commit b9383f1

Please sign in to comment.
You can’t perform that action at this time.