메소드 |
설명 |
|
__construct ( null | string | array $userAgent = null, array $server = [], array $config = [] ) : void |
Constructor |
|
extractFromUserAgent ( string $userAgent ) : array |
Extract and sets informations from the User Agent chain |
|
getAllFeatures ( ) : array |
Gets all the browser/device features |
|
getAllGroups ( ) : array |
Gets all the browser/device features' groups |
|
getBrowser ( ) : string |
Get the browser type |
|
getBrowserVersion ( ) : string |
Get the browser version |
|
getFeature ( string $feature ) : string | null |
Gets the value of the current browser/device feature |
|
getGroup ( string $group ) : array |
Gets an array of features associated to a group |
|
getImageFormatSupport ( ) : array |
Retrieve image format support |
|
getImages ( ) : the |
|
|
getMaxImageHeight ( ) : integer |
Get maximum image height supported by this device |
|
getMaxImageWidth ( ) : integer |
Get maximum image width supported by this device |
|
getPhysicalScreenHeight ( ) : integer |
Get physical screen height of this device |
|
getPhysicalScreenWidth ( ) : integer |
Get physical screen width of this device |
|
getPreferredMarkup ( ) : string |
Get preferred markup type |
|
getType ( ) : string |
Gets the browser type identifier |
|
getUserAgent ( ) : string |
Get the user agent string |
|
getXhtmlSupportLevel ( ) : integer |
Get supported X/HTML version |
|
hasFeature ( string $feature ) : boolean |
Check a feature for the current browser/device. |
|
hasFlashSupport ( ) : boolean |
Does the device support Flash? |
|
hasPdfSupport ( ) : boolean |
Does the device support PDF? |
|
hasPhoneNumber ( ) : boolean |
Does the device have a phone number associated with it? |
|
httpsSupport ( ) : boolean |
Does the device support HTTPS? |
|
serialize ( ) : string |
Serialize object |
|
setBrowser ( string $browser ) |
|
|
setBrowserVersion ( string $browserVersion ) |
|
|
setFeature ( string $feature, string $value = false, string $group = '' ) : Zend_Http_UserAgent_AbstractDevice |
Set a feature for the current browser/device. |
|
setGroup ( string $group, string $feature ) : Zend_Http_UserAgent_AbstractDevice |
Affects a feature to a group |
|
setImages ( array $_images ) |
|
|
setUserAgent ( string $userAgent ) |
|
|
unserialize ( string $serialized ) : void |
Unserialize |
|