MobileBrowserDetector::is_mobile
Rough detection of "mobile" browsers based on their user agent strings.
Includes tablets (see ). Sets HTTP cache headers. CAUTION: Does NOT detect Windows 8 tablets, since there's no user-agent distinction between tablets and desktops in Windows 8.
Signature
public function is_mobile([
$agent = NULL] )
Parameters
$agent
—
Returns
- bool