From 3b5dafadc52ca083e8754a6745a1b6fb217191b5 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Fri, 29 Oct 2010 23:56:22 -0400 Subject: [PATCH] Adding value option documentation. --- cake/libs/view/helpers/form.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cake/libs/view/helpers/form.php b/cake/libs/view/helpers/form.php index 221e71179..ec794ad16 100644 --- a/cake/libs/view/helpers/form.php +++ b/cake/libs/view/helpers/form.php @@ -1374,6 +1374,7 @@ class FormHelper extends AppHelper { * - `empty` - If true, the empty select option is shown. If a string, * that string is displayed as the empty element. * - `escape` - If true contents of options will be HTML entity encoded. Defaults to true. + * - `value` The selected value of the input. * * ### Using options * @@ -1499,6 +1500,7 @@ class FormHelper extends AppHelper { * * - `empty` - If true, the empty select option is shown. If a string, * that string is displayed as the empty element. + * - `value` The selected value of the input. * * @param string $fieldName Prefix name for the SELECT element * @param array $attributes HTML attributes for the select element @@ -1527,6 +1529,7 @@ class FormHelper extends AppHelper { * that string is displayed as the empty element. * - `orderYear` - Ordering of year values in select options. * Possible values 'asc', 'desc'. Default 'desc' + * - `value` The selected value of the input. * * @param string $fieldName Prefix name for the SELECT element * @param integer $minYear First year in sequence @@ -1581,6 +1584,7 @@ class FormHelper extends AppHelper { * If a array, the given array will be used. * - `empty` - If true, the empty select option is shown. If a string, * that string is displayed as the empty element. + * - `value` The selected value of the input. * * @param string $fieldName Prefix name for the SELECT element * @param array $attributes Attributes for the select element @@ -1616,6 +1620,7 @@ class FormHelper extends AppHelper { * * - `empty` - If true, the empty select option is shown. If a string, * that string is displayed as the empty element. + * - `value` The selected value of the input. * * @param string $fieldName Prefix name for the SELECT element * @param boolean $format24Hours True for 24 hours format @@ -1651,6 +1656,7 @@ class FormHelper extends AppHelper { * * - `empty` - If true, the empty select option is shown. If a string, * that string is displayed as the empty element. + * - `value` The selected value of the input. * * @param string $fieldName Prefix name for the SELECT element * @param string $attributes Array of Attributes @@ -1712,6 +1718,7 @@ class FormHelper extends AppHelper { * * - `empty` - If true, the empty select option is shown. If a string, * that string is displayed as the empty element. + * - `value` The selected value of the input. * * @param string $fieldName Prefix name for the SELECT element * @param string $attributes Array of Attributes @@ -2153,7 +2160,7 @@ class FormHelper extends AppHelper { /** * Sets field defaults and adds field to form security input hash * - * Options + * ### Options * * - `secure` - boolean whether or not the field should be added to the security fields. *