Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Static Public Member Functions | |
static | match ($userAgent, $server) |
static | userAgentStart ($userAgent) |
![]() | |
static | extractFromUserAgent ($userAgent) |
Data Fields | |
const | DEFAULT_FEATURES_ADAPTER_CLASSNAME = 'Zend_Http_UserAgent_Features_Adapter_Browscap' |
const | DEFAULT_FEATURES_ADAPTER_PATH = 'Zend/Http/UserAgent/Features/Adapter/Browscap.php' |
Protected Member Functions | |
_defineFeatures () | |
![]() | |
_restoreFromArray (array $spec) | |
_defineFeatures () | |
_getDefaultFeatures () | |
_loadFeaturesAdapter () | |
Static Protected Attributes | |
static | $_uaSignatures |
static | $_haTerms |
static | $_uaBegin |
Additional Inherited Members | |
![]() | |
static | _matchAgentAgainstSignatures ($userAgent, $signatures) |
![]() | |
$_browser = '' | |
$_browserVersion = '' | |
$_config | |
$_userAgent | |
$_server | |
$_images | |
$_aFeatures = array() | |
$_aGroup = array() | |
Definition at line 33 of file Mobile.php.
__construct | ( | $userAgent = null , |
|
array | $server = array() , |
||
array | $config = array() |
||
) |
Constructor
Implements Zend_Http_UserAgent_Device.
Definition at line 328 of file Mobile.php.
|
protected |
Look for features
Definition at line 353 of file Mobile.php.
getImageFormatSupport | ( | ) |
Determine image format support
Implements Zend_Http_UserAgent_Device.
Definition at line 432 of file Mobile.php.
getMarkupLanguage | ( | $preferredMarkup = null | ) |
Determine markup language expected
@access public
Definition at line 402 of file Mobile.php.
getMaxImageHeight | ( | ) |
Determine maximum image height supported
Implements Zend_Http_UserAgent_Device.
Definition at line 442 of file Mobile.php.
getMaxImageWidth | ( | ) |
Determine maximum image width supported
Implements Zend_Http_UserAgent_Device.
Definition at line 452 of file Mobile.php.
getPhysicalScreenHeight | ( | ) |
Determine physical screen height
Implements Zend_Http_UserAgent_Device.
Definition at line 462 of file Mobile.php.
getPhysicalScreenWidth | ( | ) |
Determine physical screen width
Implements Zend_Http_UserAgent_Device.
Definition at line 472 of file Mobile.php.
getPreferredMarkup | ( | ) |
Determine preferred markup
Implements Zend_Http_UserAgent_Device.
Definition at line 482 of file Mobile.php.
getType | ( | ) |
getXhtmlSupportLevel | ( | ) |
Determine X/HTML support level
Implements Zend_Http_UserAgent_Device.
Definition at line 492 of file Mobile.php.
hasFlashSupport | ( | ) |
Does the device support Flash?
Implements Zend_Http_UserAgent_Device.
Definition at line 502 of file Mobile.php.
hasPdfSupport | ( | ) |
Does the device support PDF?
Implements Zend_Http_UserAgent_Device.
Definition at line 512 of file Mobile.php.
hasPhoneNumber | ( | ) |
Does the device have an associated phone number?
Implements Zend_Http_UserAgent_Device.
Definition at line 522 of file Mobile.php.
httpsSupport | ( | ) |
Does the device support HTTPS?
Implements Zend_Http_UserAgent_Device.
Definition at line 532 of file Mobile.php.
|
static |
Comparison of the UserAgent chain and User Agent signatures
string | $userAgent | User Agent chain |
array | $server | $_SERVER like param |
Implements Zend_Http_UserAgent_Device.
Definition at line 278 of file Mobile.php.
|
static |
Retrieve beginning clause of user agent
string | $userAgent |
Definition at line 315 of file Mobile.php.
|
staticprotected |
Definition at line 170 of file Mobile.php.
|
staticprotected |
Definition at line 183 of file Mobile.php.
|
staticprotected |
Definition at line 45 of file Mobile.php.
const DEFAULT_FEATURES_ADAPTER_CLASSNAME = 'Zend_Http_UserAgent_Features_Adapter_Browscap' |
Definition at line 36 of file Mobile.php.
const DEFAULT_FEATURES_ADAPTER_PATH = 'Zend/Http/UserAgent/Features/Adapter/Browscap.php' |
Definition at line 38 of file Mobile.php.