Browse Source

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

mark_story 15 years ago
parent
commit
282196a7cd
1 changed files with 3 additions and 3 deletions
  1. 3 3
      lib/Cake/Network/CakeRequest.php

+ 3 - 3
lib/Cake/Network/CakeRequest.php

@@ -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
  */