aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2016-12-03 12:32:57 +0100
committerTristan Darricau <github@nicofuma.fr>2016-12-03 12:32:57 +0100
commit74f49387e17d53903c65c1a82ef75bd871a62af4 (patch)
treef6faa28efa1143206f387c139390bd50cdd2edfa /phpBB/phpbb/install/helper/iohandler/cli_iohandler.php
parent0c96873e731acee531748bad142cf852fdd1d30f (diff)
parentd817f3cc674433bfe3217b58fce887c48677b382 (diff)
downloadforums-74f49387e17d53903c65c1a82ef75bd871a62af4.tar
forums-74f49387e17d53903c65c1a82ef75bd871a62af4.tar.gz
forums-74f49387e17d53903c65c1a82ef75bd871a62af4.tar.bz2
forums-74f49387e17d53903c65c1a82ef75bd871a62af4.tar.xz
forums-74f49387e17d53903c65c1a82ef75bd871a62af4.zip
Merge pull request #4539 from marc1706/ticket/14875
[ticket/14875] Add method for untrimmed input to ajax iohandler * marc1706/ticket/14875: [ticket/14875] Add raw_variable() to request mock [ticket/14875] Move raw_variable() method to request_interface [ticket/14875] Use raw_variable() method in _variable() to get raw data [ticket/14875] Add method for raw input to request and add to installer [ticket/14875] Add method for untrimmed input to ajax iohandler
Diffstat (limited to 'phpBB/phpbb/install/helper/iohandler/cli_iohandler.php')
-rw-r--r--phpBB/phpbb/install/helper/iohandler/cli_iohandler.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php b/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php
index 196cdcdaab..4117a3dfd3 100644
--- a/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php
+++ b/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php
@@ -74,6 +74,20 @@ class cli_iohandler extends iohandler_base
return $result;
}
+ /**
+ * {@inheritdoc}
+ */
+ public function get_raw_input($name, $default)
+ {
+ return $this->get_input($name, $default, true);
+ }
+
+ /**
+ * Set input variable
+ *
+ * @param string $name Name of input variable
+ * @param mixed $value Value of input variable
+ */
public function set_input($name, $value)
{
$this->input_values[$name] = $value;