aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/request/request_interface.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/request/request_interface.php')
-rw-r--r--phpBB/phpbb/request/request_interface.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/phpbb/request/request_interface.php b/phpBB/phpbb/request/request_interface.php
index 3281e1ca03..cd949147f7 100644
--- a/phpBB/phpbb/request/request_interface.php
+++ b/phpBB/phpbb/request/request_interface.php
@@ -138,4 +138,14 @@ interface request_interface
* Pay attention when using these, they are unsanitised!
*/
public function variable_names($super_global = \phpbb\request\request_interface::REQUEST);
+
+ /**
+ * Returns the original array of the requested super global
+ *
+ * @param \phpbb\request\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 get_super_global($super_global = \phpbb\request\request_interface::REQUEST);
}