JBrowser::match
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JBrowser::match[edit]
Description[edit]
Parses the user agent string and inititializes the object with all the known features and quirks for the given browser.
public function match (
$userAgent=null
$accept=null
)
Parameter | Type | Default | Description |
---|---|---|---|
$userAgent | string | null | The browser string to parse. |
$accept | string | null | The HTTP_ACCEPT settings to use. |
- Returns
- Defined on line 237 of libraries/joomla/environment/browser.php
See also[edit]
- JBrowser::match source code on BitBucket
- Class JBrowser
- Subpackage Environment
- Other versions of JBrowser::match
User contributed notes[edit]
Code Examples[edit]