We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51f8d9a commit 4ede584Copy full SHA for 4ede584
CodeIgniter/Framework/core/Input.php
@@ -284,6 +284,24 @@ public function has($index = null, $xss_clean = false)
284
return false;
285
}
286
287
+ // --------------------------------------------------------------------
288
+
289
+ /**
290
+ * Fetch an item from the REQUEST array
291
+ *
292
+ * @param mixed $index
293
+ * @param bool $xss_clean
294
+ * @return mixed
295
+ */
296
+ protected function index($index = null, $xss_clean = false)
297
+ {
298
+ $array = $_REQUEST;
299
300
+ return $this->_fetch_from_array($array, $index, $xss_clean);
301
+ }
302
303
304
305
/**
306
* Fetch only items from the REQUEST array
307
*
0 commit comments