summaryrefslogtreecommitdiffstats
path: root/user_guide
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-06-20 07:39:18 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-06-20 07:39:18 +0200
commitd3ee04109528470666c016fcc05c69941de879b2 (patch)
tree8e2937f525138b4bb7924ed6f6091a0d1fc1f0d8 /user_guide
parent0f109193689f22ff9b9764c299f3297d987ce78d (diff)
Added get_post() to the Input class.
Documented get() in the Input class.
Diffstat (limited to 'user_guide')
-rw-r--r--user_guide/changelog.html2
-rw-r--r--user_guide/libraries/input.html12
2 files changed, 14 insertions, 0 deletions
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index bf26a67ae..39568b93f 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -72,6 +72,8 @@ SVN Revision: not currently released</p>
<ul>
<li>Set the mime type check in the <a href="libraries/file_uploading.html">Upload class</a> to reference the global mimes variable.</li>
<li>Added support for query strings to the <a href="libraries/pagination.html">Pagination class</a>, automatically detected or explicitly declared.</li>
+ <li>Added <kbd>get_post()</kbd> to the <a href="libraries/input.html">Input class</a>.</li>
+ <li>Documented <kbd>get()</kbd> in the <a href="libraries/input.html">Input class</a>.</li>
</ul>
</li>
<li>Helpers
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<br />
<code>$this->input->post('some_data', TRUE);</code>
+<h2>$this->input->get()</h2>
+
+<p>This function is identical to the post function, only it fetches get data:</p>
+
+<code>$this->input->get('some_data', TRUE);</code>
+
+<h2>$this->input->get_post()</h2>
+
+<p>This function will search through both the post and get streams for data, looking first in post, and then in get:</p>
+
+<code>$this->input->get_post('some_data', TRUE);</code>
+
<h2>$this->input->cookie()</h2>
<p>This function is identical to the post function, only it fetches cookie data:</p>