API16

API16:JBrowser/getPlatform

From Joomla! Documentation

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