summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/libraries')
-rw-r--r--user_guide/libraries/input.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/user_guide/libraries/input.html b/user_guide/libraries/input.html
index 704421331..d838cf020 100644
--- a/user_guide/libraries/input.html
+++ b/user_guide/libraries/input.html
@@ -239,10 +239,17 @@ else<br />
<code>$headers = $this->input->request_headers();</code>
<h2>$this->input->get_request_header();</h2>
-<p>Returns a single
+<p>Returns a single member of the request headers array.</p>
<code>$this->input->get_request_header('some-header', TRUE);</code>
+
+<h2>$this->input->is_ajax_request()</h2>
+<p>Checks to see if the <var>HTTP_X_REQUESTED_WITH</var> server header has been set, and returns a boolean response.</p>
+
+<code>$this->input->is_ajax_request()</code>
+
+
</div>
<!-- END CONTENT -->