function getlocations_cdints_load in Get Locations 6.2
Same name and namespace in other branches
- 6 getlocations.module \getlocations_cdints_load()
- 7.2 getlocations.module \getlocations_cdints_load()
- 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;
}