From 58f5f0fe32aeb2e8a4f72e23d4acaa874b598b78 Mon Sep 17 00:00:00 2001 From: katzgrau Date: Thu, 24 Feb 2011 09:31:28 -0500 Subject: Adding a link to the User Agent Class docs from the user_agent function of the input class --- user_guide/libraries/input.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_guide/libraries/input.html b/user_guide/libraries/input.html index 0615fe622..2bc9b3b8c 100644 --- a/user_guide/libraries/input.html +++ b/user_guide/libraries/input.html @@ -253,7 +253,7 @@ else

$this->input->user_agent()

Returns the user agent (web browser) being used by the current user. Returns FALSE if it's not available.

echo $this->input->user_agent(); - +

See the User Agent Class for methods which extract information from the user agent string.

$this->input->request_headers()

Useful if running in a non-Apache environment where apache_request_headers() will not be supported. Returns an array of headers.

-- cgit v1.2.3-24-g4f1b