dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44b34a3
)
Add documentation for DerivativeRequest::__construct
author
Siebrand Mazeland
<s.mazeland@xs4all.nl>
Sat, 16 Nov 2013 20:02:28 +0000
(21:02 +0100)
committer
Siebrand
<siebrand@wikimedia.org>
Sat, 16 Nov 2013 20:07:19 +0000
(20:07 +0000)
Change-Id: I20e62d07b6a069b3c2b5b0cb67736ded294bcfb2
includes/WebRequest.php
patch
|
blob
|
history
diff --git
a/includes/WebRequest.php
b/includes/WebRequest.php
index
4ad7344
..
536ce12
100644
(file)
--- a/
includes/WebRequest.php
+++ b/
includes/WebRequest.php
@@
-1522,6
+1522,12
@@
class FauxRequest extends WebRequest {
class DerivativeRequest extends FauxRequest {
private $base;
+ /**
+ * @param WebRequest $base
+ * @param array $data Array of *non*-urlencoded key => value pairs, the
+ * fake GET/POST values
+ * @param bool $wasPosted Whether to treat the data as POST
+ */
public function __construct( WebRequest $base, $data, $wasPosted = false ) {
$this->base = $base;
parent::__construct( $data, $wasPosted );