메소드 |
설명 |
|
__call ( $name, $arguments ) |
Changing detection type to extended. |
|
browser ( $userAgent = null ) : string |
Get the browser name. |
|
device ( string $userAgent = null ) : string |
Get the device name. |
|
getDetectionRulesExtended ( ) : array |
Get all detection rules. These rules include the additional
platforms and browsers. |
|
getRules ( ) : array |
Retrieve the current set of rules. |
|
isDesktop ( string $userAgent = null, array $httpHeaders = null ) : boolean |
Check if the device is a desktop computer. |
|
isPhone ( string $userAgent = null, array $httpHeaders = null ) : boolean |
Check if the device is a mobile phone. |
|
isRobot ( string $userAgent = null ) : boolean |
Check if device is a robot. |
|
languages ( $acceptLanguage = null ) : array |
Get accept languages. |
|
platform ( string $userAgent = null ) : string |
Get the platform name. |
|
robot ( string $userAgent = null ) : string |
Get the robot name. |
|
version ( $propertyName, $type = self::VERSION_TYPE_STRING ) |
Check the version of the given property in the User-Agent. |
|