Zend Framework  1.12
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes | List of all members
Zend_Http_UserAgent_Spam Class Reference

Public Member Functions

 getType ()
 Gives the current browser type.
 
- Public Member Functions inherited from Zend_Http_UserAgent_AbstractDevice
 __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)
 Comparison of the UserAgent chain and User Agent signatures.
 
- Static Public Member Functions inherited from Zend_Http_UserAgent_AbstractDevice
static extractFromUserAgent ($userAgent)
 Extract and sets informations from the User Agent chain.
 

Protected Member Functions

 _defineFeatures ()
 Look for features.
 
- Protected Member Functions inherited from Zend_Http_UserAgent_AbstractDevice
 _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 Protected Attributes

static $_uaSignatures
 

Additional Inherited Members

- Static Protected Member Functions inherited from Zend_Http_UserAgent_AbstractDevice
static _matchAgentAgainstSignatures ($userAgent, $signatures)
 Match a user agent string against a list of signatures.
 
- Protected Attributes inherited from Zend_Http_UserAgent_AbstractDevice
 $_browser = ''
 
 $_browserVersion = ''
 
 $_config
 
 $_userAgent
 
 $_server
 
 $_images
 
 $_aFeatures = array()
 
 $_aGroup = array()
 

Member Function Documentation

_defineFeatures ( )
protected

Look for features.

Returns
string
getType ( )

Gives the current browser type.

Returns
string
static match (   $userAgent,
  $server 
)
static

Comparison of the UserAgent chain and User Agent signatures.

Parameters
string$userAgentUser Agent chain
array$server$_SERVER like param
Returns
bool

Implements Zend_Http_UserAgent_Device.

Member Data Documentation

$_uaSignatures
staticprotected
Initial value:
= array(
'',
)