Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update docblock

  • Loading branch information...
commit 8bc17996dc22901b30a54a476c4b6bccfe72c705 1 parent 036c249
@ADmad ADmad authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/Cake/View/Helper/FormHelper.php
View
3  lib/Cake/View/Helper/FormHelper.php
@@ -299,8 +299,9 @@ public function tagIsInvalid() {
* can be overridden when calling input()
* - `encoding` Set the accept-charset encoding for the form. Defaults to `Configure::read('App.encoding')`
*
- * @param string $model The model object which the form is being defined for. Should
+ * @param string|array $model The model object which the form is being defined for. Should
* include the plugin name for plugin forms. e.g. `ContactManager.Contact`.
+ * If an array is passed and $options argument is empty, the array will be used as options.
* @param array $options An array of html attributes and options.
* @return string An formatted opening FORM tag.
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#options-for-create
Please sign in to comment.
Something went wrong with that request. Please try again.