API17:JBrowser::match
From Joomla! Documentation
JBrowser::match
Description
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
JBrowser::match source code on BitBucket
Class JBrowser
Subpackage Environment- Other versions of JBrowser::match
User contributed notes
Code Examples