Notice (8) : Trying to get property of non-object [APP/models/search.php , line 66 ]
Code |
Context $address = "Ilsenburg+%28Harz%29+city"
$key = "ABQIAAAAp3TmINndf7OS9mkQOi5CtBTa5o-5bb-h8VKyypuuHHrMl2wuORR9deU8vt-FmNvbt855R4kZb13Rlg"
$google_uri = "http://maps.google.com/maps/geo?q=Ilsenburg+%28Harz%29+city&output=xml&key=ABQIAAAAp3TmINndf7OS9mkQOi5CtBTa5o-5bb-h8VKyypuuHHrMl2wuORR9deU8vt-FmNvbt855R4kZb13Rlg&oe=utf8"
$xml = SimpleXMLElement
SimpleXMLElement::$Response = SimpleXMLElement
SimpleXMLElement::$name = "Ilsenburg (Harz) city"
SimpleXMLElement::$Status = SimpleXMLElement
SimpleXMLElement::$code = "200"
SimpleXMLElement::$request = "geocode"
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::$Placemark = array(
SimpleXMLElement
SimpleXMLElement::$@attributes = array(
"id" => "p1"
)
SimpleXMLElement::$address = "Harz, Grosse Oker 22, 38707 Altenau, Germany"
SimpleXMLElement::$AddressDetails = SimpleXMLElement
SimpleXMLElement::$@attributes = array(
"Accuracy" => "9"
)
SimpleXMLElement::$Country = SimpleXMLElement
SimpleXMLElement::$CountryNameCode = "DE"
SimpleXMLElement::$CountryName = "Deutschland"
SimpleXMLElement::$Locality = SimpleXMLElement
SimpleXMLElement::$LocalityName = "Altenau"
SimpleXMLElement::$Thoroughfare = SimpleXMLElement
SimpleXMLElement::$ThoroughfareName = "Grosse Oker 22"
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::$PostalCode = SimpleXMLElement
SimpleXMLElement::$PostalCodeNumber = "38707"
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::$AddressLine = "Harz (Sachsen-Anhalt)"
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::$ExtendedData = SimpleXMLElement
SimpleXMLElement::$LatLonBox = SimpleXMLElement
SimpleXMLElement::$@attributes = array(
"north" => "51.9431096",
"south" => "51.5007375",
"east" => "11.4666109",
"west" => "10.4421357"
)
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::$Point = SimpleXMLElement
SimpleXMLElement::$coordinates = "10.9543733,51.7224646,0"
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute(),
SimpleXMLElement
SimpleXMLElement::$@attributes = array(
"id" => "p2"
)
SimpleXMLElement::$address = "Ilsenburg, Germany"
SimpleXMLElement::$AddressDetails = SimpleXMLElement
SimpleXMLElement::$@attributes = array(
"Accuracy" => "4"
)
SimpleXMLElement::$Country = SimpleXMLElement
SimpleXMLElement::$CountryNameCode = "DE"
SimpleXMLElement::$CountryName = "Deutschland"
SimpleXMLElement::$Locality = SimpleXMLElement
SimpleXMLElement::$LocalityName = "Ilsenburg (Harz)"
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::$ExtendedData = SimpleXMLElement
SimpleXMLElement::$LatLonBox = SimpleXMLElement
SimpleXMLElement::$@attributes = array(
"north" => "51.8876619",
"south" => "51.7903521",
"east" => "10.7571083",
"west" => "10.5762870"
)
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::$Point = SimpleXMLElement
SimpleXMLElement::$coordinates = "10.6769920,51.8524839,0"
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
)
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
$http_response_header = array(
"HTTP/1.0 200 OK",
"Content-Type: text/xml; charset=UTF-8",
"Vary: Accept-Language",
"Date: Sat, 19 May 2012 10:34:59 GMT",
"Server: mafe",
"Cache-Control: private",
"X-XSS-Protection: 1; mode=block",
"X-Frame-Options: SAMEORIGIN"
)
$page = "<?xml version="1.0" encoding="UTF-8" ?>
<kml xmlns="http://earth.google.com/kml/2.0"><Response>
<name>Ilsenburg (Harz) city</name>
<Status>
<code>200</code>
<request>geocode</request>
</Status>
<Placemark id="p1">
<address>Harz, Grosse Oker 22, 38707 Altenau, Germany</address>
<AddressDetails Accuracy="9" xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0"><Country><CountryNameCode>DE</CountryNameCode><CountryName>Deutschland</CountryName><Locality><LocalityName>Altenau</LocalityName><Thoroughfare><ThoroughfareName>Grosse Oker 22</ThoroughfareName></Thoroughfare><PostalCode><PostalCodeNumber>38707</PostalCodeNumber></PostalCode><AddressLine>Harz (Sachsen-Anhalt)</AddressLine></Locality></Country></AddressDetails>
<ExtendedData>
<LatLonBox north="51.9431096" south="51.5007375" east="11.4666109" west="10.4421357" />
</ExtendedData>
<Point><coordinates>10.9543733,51.7224646,0</coordinates></Point>
</Placemark>
<Placemark id="p2">
<address>Ilsenburg, Germany</address>
<AddressDetails Accuracy="4" xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0"><Country><CountryNameCode>DE</CountryNameCode><CountryName>Deutschland</CountryName><Locality><LocalityName>Ilsenburg (Harz)</LocalityName></Locality></Country></AddressDetails>
<ExtendedData>
<LatLonBox north="51.8876619" south="51.7903521" east="10.7571083" west="10.5762870" />
</ExtendedData>
<Point><coordinates>10.6769920,51.8524839,0</coordinates></Point>
</Placemark>
</Response></kml>
" }
$locality = $xml->Response->Placemark->AddressDetails->Country->AdministrativeArea->SubAdministrativeArea->Locality;
Search::importAndReturnGoogleGeocode() - APP/models/search.php, line 66
Search::getGeocodeForAddress() - APP/models/search.php, line 121
ItemsController::fixLocation() - APP/controllers/items_controller.php, line 347
ItemsController::q() - APP/controllers/items_controller.php, line 506
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 268
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 240
[main] - APP/webroot/index.php, line 84
Notice (8) : Trying to get property of non-object [APP/models/search.php , line 69 ]
Code |
Context $address = "Ilsenburg+%28Harz%29+city"
$key = "ABQIAAAAp3TmINndf7OS9mkQOi5CtBTa5o-5bb-h8VKyypuuHHrMl2wuORR9deU8vt-FmNvbt855R4kZb13Rlg"
$google_uri = "http://maps.google.com/maps/geo?q=Ilsenburg+%28Harz%29+city&output=xml&key=ABQIAAAAp3TmINndf7OS9mkQOi5CtBTa5o-5bb-h8VKyypuuHHrMl2wuORR9deU8vt-FmNvbt855R4kZb13Rlg&oe=utf8"
$xml = SimpleXMLElement
SimpleXMLElement::$Response = SimpleXMLElement
SimpleXMLElement::$name = "Ilsenburg (Harz) city"
SimpleXMLElement::$Status = SimpleXMLElement
SimpleXMLElement::$code = "200"
SimpleXMLElement::$request = "geocode"
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::$Placemark = array(
SimpleXMLElement
SimpleXMLElement::$@attributes = array(
"id" => "p1"
)
SimpleXMLElement::$address = "Harz, Grosse Oker 22, 38707 Altenau, Germany"
SimpleXMLElement::$AddressDetails = SimpleXMLElement
SimpleXMLElement::$@attributes = array(
"Accuracy" => "9"
)
SimpleXMLElement::$Country = SimpleXMLElement
SimpleXMLElement::$CountryNameCode = "DE"
SimpleXMLElement::$CountryName = "Deutschland"
SimpleXMLElement::$Locality = SimpleXMLElement
SimpleXMLElement::$LocalityName = "Altenau"
SimpleXMLElement::$Thoroughfare = SimpleXMLElement
SimpleXMLElement::$ThoroughfareName = "Grosse Oker 22"
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::$PostalCode = SimpleXMLElement
SimpleXMLElement::$PostalCodeNumber = "38707"
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::$AddressLine = "Harz (Sachsen-Anhalt)"
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::$ExtendedData = SimpleXMLElement
SimpleXMLElement::$LatLonBox = SimpleXMLElement
SimpleXMLElement::$@attributes = array(
"north" => "51.9431096",
"south" => "51.5007375",
"east" => "11.4666109",
"west" => "10.4421357"
)
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::$Point = SimpleXMLElement
SimpleXMLElement::$coordinates = "10.9543733,51.7224646,0"
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute(),
SimpleXMLElement
SimpleXMLElement::$@attributes = array(
"id" => "p2"
)
SimpleXMLElement::$address = "Ilsenburg, Germany"
SimpleXMLElement::$AddressDetails = SimpleXMLElement
SimpleXMLElement::$@attributes = array(
"Accuracy" => "4"
)
SimpleXMLElement::$Country = SimpleXMLElement
SimpleXMLElement::$CountryNameCode = "DE"
SimpleXMLElement::$CountryName = "Deutschland"
SimpleXMLElement::$Locality = SimpleXMLElement
SimpleXMLElement::$LocalityName = "Ilsenburg (Harz)"
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::$ExtendedData = SimpleXMLElement
SimpleXMLElement::$LatLonBox = SimpleXMLElement
SimpleXMLElement::$@attributes = array(
"north" => "51.8876619",
"south" => "51.7903521",
"east" => "10.7571083",
"west" => "10.5762870"
)
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::$Point = SimpleXMLElement
SimpleXMLElement::$coordinates = "10.6769920,51.8524839,0"
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
)
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
SimpleXMLElement::asXML()
SimpleXMLElement::saveXML()
SimpleXMLElement::xpath()
SimpleXMLElement::registerXPathNamespace()
SimpleXMLElement::attributes()
SimpleXMLElement::children()
SimpleXMLElement::getNamespaces()
SimpleXMLElement::getDocNamespaces()
SimpleXMLElement::getName()
SimpleXMLElement::addChild()
SimpleXMLElement::addAttribute()
$http_response_header = array(
"HTTP/1.0 200 OK",
"Content-Type: text/xml; charset=UTF-8",
"Vary: Accept-Language",
"Date: Sat, 19 May 2012 10:34:59 GMT",
"Server: mafe",
"Cache-Control: private",
"X-XSS-Protection: 1; mode=block",
"X-Frame-Options: SAMEORIGIN"
)
$page = "<?xml version="1.0" encoding="UTF-8" ?>
<kml xmlns="http://earth.google.com/kml/2.0"><Response>
<name>Ilsenburg (Harz) city</name>
<Status>
<code>200</code>
<request>geocode</request>
</Status>
<Placemark id="p1">
<address>Harz, Grosse Oker 22, 38707 Altenau, Germany</address>
<AddressDetails Accuracy="9" xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0"><Country><CountryNameCode>DE</CountryNameCode><CountryName>Deutschland</CountryName><Locality><LocalityName>Altenau</LocalityName><Thoroughfare><ThoroughfareName>Grosse Oker 22</ThoroughfareName></Thoroughfare><PostalCode><PostalCodeNumber>38707</PostalCodeNumber></PostalCode><AddressLine>Harz (Sachsen-Anhalt)</AddressLine></Locality></Country></AddressDetails>
<ExtendedData>
<LatLonBox north="51.9431096" south="51.5007375" east="11.4666109" west="10.4421357" />
</ExtendedData>
<Point><coordinates>10.9543733,51.7224646,0</coordinates></Point>
</Placemark>
<Placemark id="p2">
<address>Ilsenburg, Germany</address>
<AddressDetails Accuracy="4" xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0"><Country><CountryNameCode>DE</CountryNameCode><CountryName>Deutschland</CountryName><Locality><LocalityName>Ilsenburg (Harz)</LocalityName></Locality></Country></AddressDetails>
<ExtendedData>
<LatLonBox north="51.8876619" south="51.7903521" east="10.7571083" west="10.5762870" />
</ExtendedData>
<Point><coordinates>10.6769920,51.8524839,0</coordinates></Point>
</Placemark>
</Response></kml>
"
$locality = null
// get the city
$city = (string) $locality->LocalityName;
Search::importAndReturnGoogleGeocode() - APP/models/search.php, line 69
Search::getGeocodeForAddress() - APP/models/search.php, line 121
ItemsController::fixLocation() - APP/controllers/items_controller.php, line 347
ItemsController::q() - APP/controllers/items_controller.php, line 506
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 268
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 240
[main] - APP/webroot/index.php, line 84
Audios/MP3 zu Ilsenburg (Harz) : - locopodia