From c272a8b3ca5c4e04c2739344e812b88079426e34 Mon Sep 17 00:00:00 2001 From: mark_story Date: Mon, 19 Dec 2011 22:11:36 -0500 Subject: [PATCH] Update doc blocks. --- lib/Cake/View/Helper/FormHelper.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Cake/View/Helper/FormHelper.php b/lib/Cake/View/Helper/FormHelper.php index 6c6eea13e72..3a1794b29b4 100644 --- a/lib/Cake/View/Helper/FormHelper.php +++ b/lib/Cake/View/Helper/FormHelper.php @@ -1156,6 +1156,7 @@ protected function _extractOption($name, $options, $default = null) { * @param string $label * @param array $options Options for the label element. * @return string Generated label element + * @deprecated 'NONE' option is deprecated and will be removed in 3.0 */ protected function _inputLabel($fieldName, $label, $options) { $labelAttributes = $this->domId(array(), 'for'); @@ -2125,8 +2126,8 @@ public function meridian($fieldName, $attributes = array()) { * matching the field name will override this value. If no default is provided `time()` will be used. * * @param string $fieldName Prefix name for the SELECT element - * @param string $dateFormat DMY, MDY, YMD. - * @param string $timeFormat 12, 24. + * @param string $dateFormat DMY, MDY, YMD, or null to not generate date inputs. + * @param string $timeFormat 12, 24, or null to not generate time inputs. * @param string $attributes array of Attributes * @return string Generated set of select boxes for the date and time formats chosen. * @link http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#FormHelper::dateTime