From 8850e37c3b5a8639033371a302f949c758de89fa Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Thu, 27 Feb 2014 21:56:06 +0200 Subject: Add parameter to CI_Input::user_agent() --- user_guide_src/source/libraries/input.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'user_guide_src/source/libraries') diff --git a/user_guide_src/source/libraries/input.rst b/user_guide_src/source/libraries/input.rst index 6162a6664..f9dbf1686 100644 --- a/user_guide_src/source/libraries/input.rst +++ b/user_guide_src/source/libraries/input.rst @@ -326,9 +326,10 @@ Class Reference Accepts an optional second string parameter of 'ipv4' or 'ipv6' to specify an IP format. The default checks for both formats. - .. method:: user_agent() + .. method:: user_agent([$xss_clean = NULL]) :returns: User agent string or NULL if not set + :param bool $xss_clean: Whether to apply XSS filtering :rtype: mixed Returns the user agent string (web browser) being used by the current user, -- cgit v1.2.3-24-g4f1b