Try to identify mobile device by http headers. More...
Public Member Functions | |
isOperaMini (array $source) | |
isMobile (array $source, $checkAccept=false) | |
isIphone (array $source) | |
isMobileByHttpAccept (array $source) | |
Static Public Member Functions | |
static | create () |
Static Private Attributes | |
static | $headers |
Try to identify mobile device by http headers.
Definition at line 17 of file MobileRequestDetector.class.php.
static MobileRequestDetector::create | ( | ) | [static] |
Definition at line 64 of file MobileRequestDetector.class.php.
Referenced by MobileUtils::extractIp(), and MobileUtils::extractUserAgent().
MobileRequestDetector::isIphone | ( | array $ | source | ) |
Definition at line 93 of file MobileRequestDetector.class.php.
Referenced by isMobile().
MobileRequestDetector::isMobile | ( | array $ | source, | |
$ | checkAccept = false | |||
) |
Definition at line 75 of file MobileRequestDetector.class.php.
References isIphone(), isMobileByHttpAccept(), and isOperaMini().
MobileRequestDetector::isMobileByHttpAccept | ( | array $ | source | ) |
Definition at line 105 of file MobileRequestDetector.class.php.
Referenced by isMobile().
MobileRequestDetector::isOperaMini | ( | array $ | source | ) |
Definition at line 69 of file MobileRequestDetector.class.php.
Referenced by isMobile().
MobileRequestDetector::$headers [static, private] |
Definition at line 19 of file MobileRequestDetector.class.php.