Skip to content
This repository
Browse code

Fixing doc block for CakeRequest::$data. Refs #1746

  • Loading branch information...
commit 282196a7cd7089f7453108ade3dc2d2a4b2e6680 1 parent e7ec9e4
Mark Story authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  lib/Cake/Network/CakeRequest.php
6  lib/Cake/Network/CakeRequest.php
@@ -38,9 +38,9 @@ class CakeRequest implements ArrayAccess {
38 38
 
39 39
 /**
40 40
  * Array of POST data.  Will contain form data as well as uploaded files.
41  
- * Will only contain data from inputs that start with 'data'.  So
42  
- * `<input name="some_input" />` will not end up in data. However,
43  
- * `<input name="data[something]" />`
  41
+ * Inputs prefixed with 'data' will have the data prefix removed.  If there is
  42
+ * overlap between an input prefixed with data and one without, the 'data' prefixed
  43
+ * value will take precedence.
44 44
  *
45 45
  * @var array
46 46
  */

0 notes on commit 282196a

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