Skip to content

Commit

Permalink
Fixing doc block for CakeRequest::$data. Refs #1746
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 1, 2011
1 parent e7ec9e4 commit 282196a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Cake/Network/CakeRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ class CakeRequest implements ArrayAccess {

/**
* Array of POST data. Will contain form data as well as uploaded files.
* Will only contain data from inputs that start with 'data'. So
* `<input name="some_input" />` will not end up in data. However,
* `<input name="data[something]" />`
* Inputs prefixed with 'data' will have the data prefix removed. If there is
* overlap between an input prefixed with data and one without, the 'data' prefixed
* value will take precedence.
*
* @var array
*/
Expand Down

0 comments on commit 282196a

Please sign in to comment.