aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/request/interface.php
diff options
context:
space:
mode:
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);
}