Interface defining a browser device type.
category | Zend |
---|---|
package | Zend_Http |
subpackage | UserAgent |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct(null|string|array $userAgent= null
, array $server= array()
, array $config= array()
) : void
Allows injecting user agent, server array, and/or config array. If an array is provided for the first argument, the assumption should be that the device object is being seeded with cached values from serialization.
null
string
array
array
array
getAllFeatures() : array
array
getAllGroups() : void
getBrowser() : string
string
getBrowserVersion() : string
string
getFeature(string $feature) : mixed
string
mixed
getGroup(string $group) : array
string
array
getImageFormatSupport() : array
array
getImages() : array
array
getMaxImageHeight() : integer
integer
getMaxImageWidth() : integer
integer
getPhysicalScreenHeight() : integer
integer
getPhysicalScreenWidth() : integer
integer
getPreferredMarkup() : string
string
getUserAgent() : string
string
getXhtmlSupportLevel() : integer
integer
hasFeature(string $feature) : boolean
string
boolean
hasFlashSupport() : boolean
boolean
hasPdfSupport() : boolean
boolean
hasPhoneNumber() : boolean
boolean
httpsSupport() : boolean
boolean
match(string $userAgent, array $server) : boolean | array
Return either an array of browser signature strings, or a boolean.
string
array
boolean
array