ePages 6.11.0 - DE_EPAGES/WebInterface/API/UserAgent.pm

Package DE_EPAGES::WebInterface::API::UserAgent

This module contains all functions regarding user agent recognition and matching.

@EXPORT_OK
IsUserMobilePhone

Functions

IsUserMobilePhone

IsUserMobilePhone

Matches the UserAgent against some defined mobile agents and returns true in case of a mobile phone agent.

Syntax
my $IsMobilePhone = IsUserMobilePhone($UserAgent)
Input
$UserAgent (string)
user agent string
Return
$IsMobilePhone (boolean)
true, if user s mobile phone