You are here

function getlocations_ua_get in Get Locations 7

Same name and namespace in other branches
  1. 7.2 getlocations.module \getlocations_ua_get()

Function

Return value

Returns

3 calls to getlocations_ua_get()
getlocations_is_mobile in ./getlocations.module
Function
getlocations_settings_form in ./getlocations.admin.inc
Function to display the getlocations admin settings form
getlocations_tools_export_form in modules/getlocations_tools/getlocations_tools.module

File

./getlocations.module, line 6543
getlocations.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_ua_get() {
  $default = array(
    'ua_string' => "iphone|ipad|android|blackberry|blazer|bolt|symbian|mobile safari|fennec|gobrowser|iemobile|maemo browser|profile midp|minimo|kindle|opera mini|opera mobi|skyfire|teashark|uzardweb",
  );
  $getlocations_ua = variable_get('getlocations_ua', $default);
  return $getlocations_ua;
}