From d3ee04109528470666c016fcc05c69941de879b2 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Fri, 20 Jun 2008 05:39:18 +0000 Subject: Added get_post() to the Input class. Documented get() in the Input class. --- user_guide/libraries/input.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'user_guide/libraries/input.html') diff --git a/user_guide/libraries/input.html b/user_guide/libraries/input.html index 2cf8b6d0e..af57a4c5a 100644 --- a/user_guide/libraries/input.html +++ b/user_guide/libraries/input.html @@ -158,6 +158,18 @@ else
$this->input->post('some_data', TRUE); +

$this->input->get()

+ +

This function is identical to the post function, only it fetches get data:

+ +$this->input->get('some_data', TRUE); + +

$this->input->get_post()

+ +

This function will search through both the post and get streams for data, looking first in post, and then in get:

+ +$this->input->get_post('some_data', TRUE); +

$this->input->cookie()

This function is identical to the post function, only it fetches cookie data:

-- cgit v1.2.3-24-g4f1b