API17

JBrowser::hasFeature

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::hasFeature[edit]

Description[edit]

Check the current browser capabilities.


public function hasFeature ($feature)
Parameter Type Default Description
$feature string The capability to check.
  • Returns boolean Does the browser have the capability set?
  • Defined on line 752 of libraries/joomla/environment/browser.php

See also[edit]


User contributed notes[edit]

Code Examples[edit]