eZPublish
4.7
|
Default implementation of mobile device detect interface. More...
Public Member Functions | |
__construct () | |
Construct. More... | |
getUserAgentAlias () | |
Returns mobile User Agent alias defined in the site.ini. More... | |
isMobileDevice () | |
Returns true if current device is mobile. More... | |
process () | |
Processes the User Agent string and determines whether it is a mobile device or not Needs to set boolean value for. More... | |
redirect () | |
Handles redirection to the mobile optimized interface. More... | |
Protected Attributes | |
$httpAccept | |
$httpUserAgent | |
$isMobileDevice = false | |
$userAgentAlias = '' | |
Default implementation of mobile device detect interface.
ezpMobileDeviceRegexpFilter::__construct | ( | ) |
Construct.
ezpMobileDeviceRegexpFilter::getUserAgentAlias | ( | ) |
Returns mobile User Agent alias defined in the site.ini.
[SiteAccessSettings].MobileUserAgentRegexps
Implements ezpMobileDeviceDetectFilterInterface.
ezpMobileDeviceRegexpFilter::isMobileDevice | ( | ) |
Returns true if current device is mobile.
Implements ezpMobileDeviceDetectFilterInterface.
Referenced by process().
ezpMobileDeviceRegexpFilter::process | ( | ) |
Processes the User Agent string and determines whether it is a mobile device or not Needs to set boolean value for.
Implements ezpMobileDeviceDetectFilterInterface.
ezpMobileDeviceRegexpFilter::redirect | ( | ) |
Handles redirection to the mobile optimized interface.
Implements ezpMobileDeviceDetectFilterInterface.
|
protected |
|
protected |
|
protected |
Referenced by isMobileDevice().
|
protected |
Referenced by getUserAgentAlias(), and process().