Back to Browser class

Method getPlatform

public string
getPlatform
()
Return the currently matched platform.
Returns
  • string The user's platform.
Since
  • 1.7.0
Class: Browser
Project: Joomla

Method getPlatform - Source code

/**
 * Return the currently matched platform.
 *
 * @return  string  The user's platform.
 *
 * @since   1.7.0
 */
public function getPlatform()
{
    return $this->platform;
}