API17

API17:JBrowser::match

From Joomla! Documentation

Joomla 11.1 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


User contributed notes

Code Examples