Skip to content
This repository
Browse code

Update docblock

  • Loading branch information...
commit 8bc17996dc22901b30a54a476c4b6bccfe72c705 1 parent 036c249
ADmad authored October 11, 2012

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  lib/Cake/View/Helper/FormHelper.php
3  lib/Cake/View/Helper/FormHelper.php
@@ -299,8 +299,9 @@ public function tagIsInvalid() {
299 299
  *   can be overridden when calling input()
300 300
  * - `encoding` Set the accept-charset encoding for the form.  Defaults to `Configure::read('App.encoding')`
301 301
  *
302  
- * @param string $model The model object which the form is being defined for.  Should
  302
+ * @param string|array $model The model object which the form is being defined for. Should
303 303
  *   include the plugin name for plugin forms.  e.g. `ContactManager.Contact`.
  304
+ *   If an array is passed and $options argument is empty, the array will be used as options.
304 305
  * @param array $options An array of html attributes and options.
305 306
  * @return string An formatted opening FORM tag.
306 307
  * @link http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#options-for-create

0 notes on commit 8bc1799

Please sign in to comment.
Something went wrong with that request. Please try again.