mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[feature/oauth] Allow getting original global arrays from request
PHPBB3-11673
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user