JBrowser/getMajor
From Joomla! Documentation
< API16:JBrowser
The "API16" 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.
Contents
Description
Retrieve the current browser's major version.
<! removed transcluded page call, red link never existed >
Syntax
getMajor()
Returns
integer The current browser's major version.
Defined in
libraries/joomla/environment/browser.php
Importing
jimport( 'joomla.environment.browser' );
Source Body
public function getMajor()
{
return $this->_majorVersion;
}
<! removed transcluded page call, red link never existed >