eZ Publish Community Project (Legacy Stack) 2013.4
Interface

ezpMobileDeviceDetectFilterInterface

interface ezpMobileDeviceDetectFilterInterface

File containing the ezpMobileDeviceDetectFilterInterface interface

Methods

process()

Processes the User Agent string and determines whether it is a mobile device or not Needs to set boolean value for see ezpMobileDeviceDetectFilterInterface::isMobileDevice() and optionally user agent alias see ezpMobileDeviceDetectFilterInterface::getUserAgentAlias()

redirect()

Handles redirection to the mobile optimized interface

isMobileDevice()

Returns true if current device is mobile

getUserAgentAlias()

Returns mobile User Agent alias defined in the site.ini.[SiteAccessSettings].MobileUserAgentRegexps

Details

at line 20
public process()

Processes the User Agent string and determines whether it is a mobile device or not Needs to set boolean value for see ezpMobileDeviceDetectFilterInterface::isMobileDevice() and optionally user agent alias see ezpMobileDeviceDetectFilterInterface::getUserAgentAlias()

at line 27
public redirect()

Handles redirection to the mobile optimized interface

at line 35
public isMobileDevice()

Returns true if current device is mobile

at line 43
public getUserAgentAlias()

Returns mobile User Agent alias defined in the site.ini.[SiteAccessSettings].MobileUserAgentRegexps