Class Detector
Detects if a device is a mobile device and which kind.
Attribution: Regex taken from unknown source
Usage
$m = new \Module\MobiDetect\Detector(); if ($m->isMobile()) { echo "This is a mobile device"; }
Changelog
Version 1.6
- Fixed bug with BCC and CC
Namespace: Module\MobiDetect
Deprecated: v.1.0
License: http://opensource.org/licenses/MIT
Author: Jaime A. Rodriguez hi.i.am.jaime@gmail.com
Version: 1.1
Date: June 16, 2014
Located at class.mobidetect.php
Deprecated: v.1.0
License: http://opensource.org/licenses/MIT
Author: Jaime A. Rodriguez hi.i.am.jaime@gmail.com
Version: 1.1
Date: June 16, 2014
Located at class.mobidetect.php
public
|
|
private
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
private
boolean
|
$iphone
|
#
false
|
private
boolean
|
$ipad
|
#
false
|
private
boolean
|
$android
|
#
false
|
private
boolean
|
$opera
|
#
false
|
private
boolean
|
$blackberry
|
#
false
|
private
boolean
|
$palm
|
#
false
|
private
boolean
|
$windowsPhone
|
#
false
|
private
boolean
|
$mobileBrowser
|
#
false
|