API15

API15:JBrowser/getPlatform

From Joomla! Documentation

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

Description

Return the currently matched platform.


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

Syntax

getPlatform()


Returns

string The user's platform.

Defined in

libraries/joomla/environment/browser.php

Importing

jimport( 'joomla.environment.browser' );

Source Body

function getPlatform()   {
    return $this->_platform;
}


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

Examples

Code Examples