WURFL
[ class tree: WURFL ] [ index: WURFL ] [ all elements ]

Class: WURFL_WURFLUtils

Source Location: /WURFLUtils.php

Class Overview


WURFL related utilities


Methods



Class Details

[line 22]
WURFL related utilities



[ Top ]


Class Methods


static method array_merge_recursive_unique [line 120]

static array array_merge_recursive_unique( array $array1, array $array2)

Recursively merges $array1 with $array2, returning the result



Tags:

access:  public


Parameters:

array   $array1  
array   $array2  

[ Top ]

static method getUserAgent [line 36]

static string getUserAgent( array $request)

returns the User Agent From $request or empty string if not found



Tags:

access:  public


Parameters:

array   $request   HTTP Request array (normally $_SERVER)

[ Top ]

static method getUserAgentProfile [line 55]

static string getUserAgentProfile( array $request)

Returns the UA Profile from the $request



Tags:

return:  UAProf URL
access:  public


Parameters:

array   $request   HTTP Request array (normally $_SERVER)

[ Top ]

static method isGeneric [line 107]

static bool isGeneric( string $deviceID)

Returns true if given $deviceID is the 'generic' WURFL device



Tags:

access:  public


Parameters:

string   $deviceID  

[ Top ]

static method isXhtmlRequester [line 84]

static bool isXhtmlRequester( array $request)

Checks if the requester device is xhtml enabled



Tags:

access:  public


Parameters:

array   $request   HTTP Request array (normally $_SERVER)

[ Top ]


Documentation generated on Thu, 03 Oct 2013 19:11:57 +0000 by phpDocumentor 1.4.4