eZPublish(LegacyStack)  5.1
ezpMobileDeviceDetectFilterInterface Interface Reference
+ Inheritance diagram for ezpMobileDeviceDetectFilterInterface:

Public Member Functions

 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...
 

Member Function Documentation

ezpMobileDeviceDetectFilterInterface::getUserAgentAlias ( )

Returns mobile User Agent alias defined in the site.ini.

[SiteAccessSettings].MobileUserAgentRegexps

Returns
string

Implemented in ezpMobileDeviceRegexpFilter.

ezpMobileDeviceDetectFilterInterface::isMobileDevice ( )

Returns true if current device is mobile.

Returns
bool

Implemented in ezpMobileDeviceRegexpFilter.

ezpMobileDeviceDetectFilterInterface::process ( )

Processes the User Agent string and determines whether it is a mobile device or not Needs to set boolean value for.

See Also
ezpMobileDeviceDetectFilterInterface::isMobileDevice() and optionally user agent alias
ezpMobileDeviceDetectFilterInterface::getUserAgentAlias()

Implemented in ezpMobileDeviceRegexpFilter.

ezpMobileDeviceDetectFilterInterface::redirect ( )

Handles redirection to the mobile optimized interface.

Implemented in ezpMobileDeviceRegexpFilter.


The documentation for this interface was generated from the following file: