JBrowser::getInstance
Returns the global Browser object, only creating it if it doesn't already exist.
Signature
public function getInstance([string
$userAgent = null,
[string
$accept = null]] )
Parameters
-
$userAgent
- The browser string to parse.
-
$accept
- The HTTP_ACCEPT settings to use.
Returns
- JBrowser
- The Browser object.