Back to Browser class

Method isMobile

public bool
isMobile
()
Determines if the browser is mobile version or not.
Returns
  • bool True if browser is a known mobile version.
Since
  • 1.7.0
Class: Browser
Project: Joomla

Method isMobile - Source code

/**
 * Determines if the browser is mobile version or not.
 *
 * @return boolean  True if browser is a known mobile version.
 *
 * @since   1.7.0
 */
public function isMobile()
{
    return $this->mobile;
}