function getdirections_via_load in Get Directions 7.2
Same name and namespace in other branches
- 6.2 getdirections.module \getdirections_via_load()
- 6 getdirections.module \getdirections_via_load()
- 7.3 getdirections.module \getdirections_via_load()
File
- ./
getdirections.module, line 229 - Fetches google map directions.
Code
function getdirections_via_load($arg) {
if (stristr($arg, ',')) {
$x = explode(',', $arg);
foreach ($x as $v) {
if (!is_numeric($v)) {
return FALSE;
}
}
return $arg;
}
return FALSE;
}