summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-09 00:02:38 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-09 00:02:38 +0100
commit1f811c3b7e6bf43b329f0f2ccdbe700c6454eac9 (patch)
tree9e6f7969fee3cbaca60a0ff4c2cd5573622c5ae4 /user_guide_src
parent88ebdf7ad98c2d24f9ba6b9839ab50c98cf0eb65 (diff)
Add documentation for CI_User_agent::parse()
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/libraries/user_agent.rst9
1 files changed, 8 insertions, 1 deletions
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