API16

API16:JBrowser/getPlatform

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

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

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


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

Examples

Code Examples