API17

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.

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


User contributed notes[edit]

Code Examples[edit]