MobileBrowserDetector::is_tablet
Rough detection of "tablet" user agents, based on their user agent string.
CAUTION: Does NOT detect Windows 8 tablets, since there's no user-agent distinction between tablets and desktops in Windows 8. Loosely based off the (now discontinued) Categorizr library: http://www.brettjankord.com/2012/01/16/categorizr-a-modern-device-detection-script/
Signature
public function is_tablet([
$agent = NULL] )
Parameters
$agent
—
Returns
- boolean