private function set_geo()
 {
     //calling get_coordinates method according to the territory
     $l_sTerritory = $this->dbConf->domain->prefix;
     $l_oGeo = new Geo();
     $region = '';
     $l_bGeoResult = $l_oGeo->get_geo_data_google($this->m_aListing['l_geo_headline'], $this->m_aListing['l_geo_country'], $region, $this->m_aListing['l_geo_city'], $this->m_aListing['l_geo_neigh'], $this->m_aListing['l_geo_street'], $this->m_aListing['l_geo_number'], $this->m_aListing['l_longitude'], $this->m_aListing['l_latitude'], $l_sTerritory);
     if ($l_bGeoResult == true && $l_sTerritory == 'il' && trim($this->m_aListing['l_geo_country']) != '' && strcmp($this->m_aListing['l_geo_country'], 'ישראל') != 0) {
         print "\nThe listing would not be saved because it is not from Israel";
         $l_bGeoResult = false;
     }
     return $l_bGeoResult;
 }
 private function set_geo()
 {
     $l_oGeo = new Geo();
     //calling get_coordinates method according to the territory
     $l_sTerritory = $this->dbConf->domain->prefix;
     if ($this->m_aListing['l_geo_city'] != '' || $this->m_aListing['l_region'] != '') {
         $l_bGeoResult = $l_oGeo->get_geo_data_google('', $this->m_aListing['l_country'], $this->m_aListing['l_region'], $this->m_aListing['l_geo_city'], $this->m_aListing['l_geo_neigh'], $this->m_aListing['l_geo_street'], $this->m_aListing['l_geo_number'], $this->m_aListing['l_longitude'], $this->m_aListing['l_latitude'], $l_sTerritory);
         if ($l_bGeoResult == true && trim($this->m_aListing['l_country']) != '' && strcmp($this->m_aListing['l_country'], 'ישראל') != 0) {
             print "\nThe listing is from: " . $this->m_aListing['l_country'];
             $l_bGeoResult = false;
         }
     }
 }