mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Updating documentation to include new option.
This commit is contained in:
parent
38e85ebd6e
commit
9ae8dcafdc
1 changed files with 4 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue