From 1f811c3b7e6bf43b329f0f2ccdbe700c6454eac9 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Thu, 9 Jan 2014 01:02:38 +0200 Subject: Add documentation for CI_User_agent::parse() --- user_guide_src/source/libraries/user_agent.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'user_guide_src/source') diff --git a/user_guide_src/source/libraries/user_agent.rst b/user_guide_src/source/libraries/user_agent.rst index 9f9676828..af76cfa6e 100644 --- a/user_guide_src/source/libraries/user_agent.rst +++ b/user_guide_src/source/libraries/user_agent.rst @@ -223,4 +223,11 @@ Class Reference :returns: array - Returns an array of character sets accepted by the user agent. \ No newline at end of file + Returns an array of character sets accepted by the user agent. + + .. method:: parse($string) + + :param string $string: A custom user-agent string + :returns: void + + Parses a custom user-agent string, different from the one reported by the current visitor. \ No newline at end of file -- cgit v1.2.3-24-g4f1b