Updating API docs for FormHelper::input() fixes #1649

This commit is contained in:
mark_story 2011-04-13 18:48:06 -04:00
parent 2c4ed9bfc2
commit 9f51c4ccfc

View file

@ -678,7 +678,9 @@ class FormHelper extends AppHelper {
* ### Options
*
* See each field type method for more information. Any options that are part of
* $attributes or $options for the different **type** methods can be included in `$options` for input().
* $attributes or $options for the different **type** methods can be included in `$options` for input().i
* Additionally, any unknown keys that are not in the list below, or part of the selected type's options
* will be treated as a regular html attribute for the generated input.
*
* - `type` - Force the type of widget you want. e.g. `type => 'select'`
* - `label` - Either a string label, or an array of options for the label. See FormHelper::label()