Updating documentation to include new option.

This commit is contained in:
mark_story 2011-03-15 22:05:14 -04:00
parent 38e85ebd6e
commit 9ae8dcafdc

View file

@ -980,8 +980,11 @@ class FormHelper extends AppHelper {
* - `value` - the value of the checkbox
* - `checked` - boolean indicate that this checkbox is checked.
* - `hiddenField` - boolean to indicate if you want the results of checkbox() to include
* a hidden input with a value of ''.
* a hidden input with a value of ''.
* - `disabled` - create a disabled input.
* - `default` - Set the default value for the checkbox. This allows you to start checkboxes
* as checked, without having to check the POST data. A matching POST data value, will overwrite
* the default value.
*
* @param string $fieldName Name of a field, like this "Modelname.fieldname"
* @param array $options Array of HTML attributes.