You are here

function getlocations_cdints_load in Get Locations 6

Same name and namespace in other branches
  1. 6.2 getlocations.module \getlocations_cdints_load()
  2. 7.2 getlocations.module \getlocations_cdints_load()
  3. 7 getlocations.module \getlocations_cdints_load()

File

./getlocations.module, line 172
Displays locations on a map. for Drupal 6 using version 3 googlemaps API

Code

function getlocations_cdints_load($arg) {
  $arr = explode(',', $arg);
  foreach ($arr as $a) {
    if (!is_numeric($a) || $a < 1) {
      return FALSE;
    }
  }
  return $arg;
}