Esempio n. 1
0
 /**
  * Add location to the databse
  * adds a new location to geonames_cache if it does not yet exist, updates the hierarchy and usage tables
  **/
 public function checkGeonamesCache($geonameId)
 {
     $geomodel = new GeoModel();
     if (!$geomodel->checkGeonameId($geonameId, 'trip')) {
         return false;
     } else {
         return true;
     }
 }