Property | Type | Description | |
---|---|---|---|
$accept | |||
$detectionRules | |||
$isMobile | Assume the visitor has a desktop environment. | ||
$isTablet | |||
$operatingSystemName | |||
$operatingSystems | List of mobile Operating Systems. | ||
$phoneDeviceName | |||
$phoneDevices | List of mobile devices (phones) | ||
$tabletDevicename | |||
$tabletDevices | List of tablet devices. | ||
$userAgent | |||
$userAgentName | |||
$userAgents | List of mobile User Agents. |
Method | Description | |
---|---|---|
__call ( string $name, array $arguments ) : mixed | Magic overloading method. | |
__construct ( ) | ||
getRules ( ) | ||
isMobile ( ) : boolean | Check if the device is mobile. | |
isTablet ( ) : boolean | Check if the device is a tablet. |
Method | Description | |
---|---|---|
_detect ( type $key = '' ) : boolean | null | Private method that does the detection of the mobile devices. |