Permalink
Browse files

Update doc blocks.

  • Loading branch information...
1 parent c13e658 commit c272a8b3ca5c4e04c2739344e812b88079426e34 @markstory markstory committed Dec 20, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/Cake/View/Helper/FormHelper.php
View
5 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

0 comments on commit c272a8b

Please sign in to comment.