API16

API16:JBrowser/getVersion

From Joomla! Documentation

Revision as of 01:20, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Retrieve the current browser's version. string The current browser's version.



<! removed transcluded page call, red link never existed >

Syntax

getVersion()


Returns

string The current browser's version.

Defined in

libraries/joomla/environment/browser.php

Importing

jimport( 'joomla.environment.browser' );

Source Body

public function getVersion()
{
        return $this->_majorVersion . '.' . $this->_minorVersion;
}


<! removed transcluded page call, red link never existed >

Examples

Code Examples