diff options
Diffstat (limited to 'user_guide_src')
-rw-r--r-- | user_guide_src/source/libraries/user_agent.rst | 9 |
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 |