You are here

function getdirections_id_load in Get Directions 6

Same name and namespace in other branches
  1. 6.2 getdirections.module \getdirections_id_load()
  2. 7.3 getdirections.module \getdirections_id_load()
  3. 7.2 getdirections.module \getdirections_id_load()

File

./getdirections.module, line 127
Fetches google map directions.

Code

function getdirections_id_load($arg) {
  return is_numeric($arg) && $arg > 0 ? $arg : FALSE;
}