Zend Framework
1.12
|
Public Member Functions | |
getType () | |
Gives the current browser type. | |
![]() | |
__construct ($userAgent=null, array $server=array(), array $config=array()) | |
Constructor. | |
serialize () | |
Serialize object. | |
unserialize ($serialized) | |
Unserialize. | |
getType () | |
Gets the browser type identifier. | |
hasFeature ($feature) | |
Check a feature for the current browser/device. | |
getFeature ($feature) | |
Gets the value of the current browser/device feature. | |
setFeature ($feature, $value=false, $group= '') | |
Set a feature for the current browser/device. | |
setGroup ($group, $feature) | |
Affects a feature to a group. | |
getGroup ($group) | |
Gets an array of features associated to a group. | |
getAllFeatures () | |
Gets all the browser/device features. | |
getAllGroups () | |
Gets all the browser/device features' groups. | |
getImageFormatSupport () | |
Retrieve image format support. | |
getMaxImageHeight () | |
Get maximum image height supported by this device. | |
getMaxImageWidth () | |
Get maximum image width supported by this device. | |
getPhysicalScreenHeight () | |
Get physical screen height of this device. | |
getPhysicalScreenWidth () | |
Get physical screen width of this device. | |
getPreferredMarkup () | |
Get preferred markup type. | |
getXhtmlSupportLevel () | |
Get supported X/HTML version. | |
hasFlashSupport () | |
Does the device support Flash? | |
hasPdfSupport () | |
Does the device support PDF? | |
hasPhoneNumber () | |
Does the device have a phone number associated with it? | |
httpsSupport () | |
Does the device support HTTPS? | |
getBrowser () | |
Get the browser type. | |
getBrowserVersion () | |
Get the browser version. | |
getUserAgent () | |
Get the user agent string. | |
getImages () | |
setBrowser ($browser) | |
setBrowserVersion ($browserVersion) | |
setUserAgent ($userAgent) | |
setImages ($_images) | |
Static Public Member Functions | |
static | match ($userAgent, $server) |
Used by default : must be always true. | |
![]() | |
static | extractFromUserAgent ($userAgent) |
Extract and sets informations from the User Agent chain. | |
Additional Inherited Members | |
![]() | |
_restoreFromArray (array $spec) | |
Restore object state from array. | |
_defineFeatures () | |
Look for features. | |
_getDefaultFeatures () | |
Sets all the standard features extracted from the User Agent chain and $this->_server vars. | |
_loadFeaturesAdapter () | |
Loads the Features Adapter if it's defined in the $config array Otherwise, nothing is done. | |
![]() | |
static | _matchAgentAgainstSignatures ($userAgent, $signatures) |
Match a user agent string against a list of signatures. | |
![]() | |
$_browser = '' | |
$_browserVersion = '' | |
$_config | |
$_userAgent | |
$_server | |
$_images | |
$_aFeatures = array() | |
$_aGroup = array() | |
getType | ( | ) |
Gives the current browser type.
|
static |
Used by default : must be always true.
string | $userAgent | User Agent chain |
array | $server | $_SERVER like param |
Implements Zend_Http_UserAgent_Device.