API15

JBrowser/getPlatform: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 29: Line 29:


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=getPlatform
  category=getPlatform
  category=JBrowser
  category=JBrowser
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*

Latest revision as of 00:19, 25 March 2017

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