aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/request/interface.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-08-18 23:19:48 +0200
committerIgor Wiedler <igor@wiedler.ch>2011-08-18 23:19:48 +0200
commitfd08cd8dd013c0d1bf8e18611f798c6987d9de9c (patch)
tree084176a8e8dabb15172d3b08476eba737984b8d4 /phpBB/includes/request/interface.php
parentb4ae124084a65b027af105e06077b5cf9e7c3023 (diff)
downloadforums-fd08cd8dd013c0d1bf8e18611f798c6987d9de9c.tar
forums-fd08cd8dd013c0d1bf8e18611f798c6987d9de9c.tar.gz
forums-fd08cd8dd013c0d1bf8e18611f798c6987d9de9c.tar.bz2
forums-fd08cd8dd013c0d1bf8e18611f798c6987d9de9c.tar.xz
forums-fd08cd8dd013c0d1bf8e18611f798c6987d9de9c.zip
[feature/request-class] Remove $html_encode arg, force manual decoding
PHPBB3-9716
Diffstat (limited to 'phpBB/includes/request/interface.php')
-rw-r--r--phpBB/includes/request/interface.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/phpBB/includes/request/interface.php b/phpBB/includes/request/interface.php
index c0b8768b24..181bcb467a 100644
--- a/phpBB/includes/request/interface.php
+++ b/phpBB/includes/request/interface.php
@@ -61,34 +61,31 @@ interface phpbb_request_interface
* Default is false, causing all bytes outside the ASCII range (0-127) to be replaced with question marks
* @param phpbb_request_interface::POST|GET|REQUEST|COOKIE $super_global
* Specifies which super global should be used
- * @param bool $html_encode When true, html encoding will be applied
*
* @return mixed The value of $_REQUEST[$var_name] run through {@link set_var set_var} to ensure that the type is the
* the same as that of $default. If the variable is not set $default is returned.
*/
- public function variable($var_name, $default, $multibyte = false, $super_global = phpbb_request_interface::REQUEST, $html_encode = true);
+ public function variable($var_name, $default, $multibyte = false, $super_global = phpbb_request_interface::REQUEST);
/**
* Shortcut method to retrieve SERVER variables.
*
* @param string|array $var_name See phpbb_request_interface::variable
* @param mixed $default See phpbb_request_interface::variable
- * @param bool $html_encode See phpbb_request_interface::variable
*
* @return mixed The server variable value.
*/
- public function server($var_name, $default = '', $html_encode = false);
+ public function server($var_name, $default = '');
/**
* Shortcut method to retrieve the value of client HTTP headers.
*
* @param string|array $header_name The name of the header to retrieve.
* @param mixed $default See phpbb_request_interface::variable
- * @param bool $html_encode See phpbb_request_interface::variable
*
* @return mixed The header value.
*/
- public function header($var_name, $default = '', $html_encode = false);
+ public function header($var_name, $default = '');
/**
* Checks whether a certain variable was sent via POST.