aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/request/interface.php
diff options
context:
space:
mode:
authorJoseph Warner <hardolaf@hardolaf.com>2013-07-13 12:06:05 -0400
committerJoseph Warner <hardolaf@hardolaf.com>2013-07-14 14:22:42 -0400
commita6ff2397788134b5410d89a67a3860a32670997e (patch)
tree51069f28126846034cca76d64ce58fa85f90650e /phpBB/phpbb/request/interface.php
parent6479a989c5c06939d791a73952226382918d8183 (diff)
downloadforums-a6ff2397788134b5410d89a67a3860a32670997e.tar
forums-a6ff2397788134b5410d89a67a3860a32670997e.tar.gz
forums-a6ff2397788134b5410d89a67a3860a32670997e.tar.bz2
forums-a6ff2397788134b5410d89a67a3860a32670997e.tar.xz
forums-a6ff2397788134b5410d89a67a3860a32670997e.zip
[feature/oauth] Allow getting original global arrays from request
PHPBB3-11673
Diffstat (limited to 'phpBB/phpbb/request/interface.php')
-rw-r--r--phpBB/phpbb/request/interface.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/phpbb/request/interface.php b/phpBB/phpbb/request/interface.php
index 741db35917..8d472af97a 100644
--- a/phpBB/phpbb/request/interface.php
+++ b/phpBB/phpbb/request/interface.php
@@ -136,4 +136,14 @@ interface phpbb_request_interface
* Pay attention when using these, they are unsanitised!
*/
public function variable_names($super_global = phpbb_request_interface::REQUEST);
+
+ /**
+ * Returns the original array of the requested super global
+ *
+ * @param phpbb_request_interface::POST|GET|REQUEST|COOKIE $super_global
+ * The super global which will be returned
+ *
+ * @return array The original array of the requested super global.
+ */
+ public function original_global_values($super_global = phpbb_request_interface::REQUEST);
}