![]() |
TYPO3
7.6
|
Static Public Member Functions | |
static | getBrowserInfo ($userAgent) |
static | getVersion ($version) |
static | getDeviceType ($userAgent) |
Class to handle and determine browser specific information.
Definition at line 20 of file ClientUtility.php.
|
static |
Generates an array with abstracted browser information
string | $userAgent | The useragent string, ::getIndpEnv('HTTP_USER_AGENT') |
Definition at line 28 of file ClientUtility.php.
References $GLOBALS, GeneralUtility\callUserFunction(), and elseif.
|
static |
Gets a code for a browsing device based on the input useragent string.
string | $userAgent | The useragent string, ::getIndpEnv('HTTP_USER_AGENT') |
Definition at line 189 of file ClientUtility.php.
References $GLOBALS.
|
static |
Returns the version of a browser; Basically getting doubleval() of the input string, stripping of any non-numeric values in the beginning of the string first.
string | $version | A string with version number, eg. "/7.32 blablabla @return double Returns double value, eg. "7.32 |
Definition at line 178 of file ClientUtility.php.