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

@ -982,6 +982,9 @@ class FormHelper extends AppHelper {
* - `hiddenField` - boolean to indicate if you want the results of checkbox() to include
* 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.