API17:JBrowser:: construct
From Joomla! Documentation
JBrowser::__construct
Description
Create a browser instance (constructor).
public function __construct (
$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 187 of libraries/joomla/environment/browser.php
See also
JBrowser::__construct source code on BitBucket
Class JBrowser
Subpackage Environment- Other versions of JBrowser::__construct
User contributed notes
Code Examples