'Zend_Service_DeveloperGarden_Response_IpLocation_LocateIPResponseType', 'IPAddressLocationType' => 'Zend_Service_DeveloperGarden_Response_IpLocation_IPAddressLocationType', 'RegionType' => 'Zend_Service_DeveloperGarden_Response_IpLocation_RegionType', 'GeoCoordinatesType' => 'Zend_Service_DeveloperGarden_Response_IpLocation_GeoCoordinatesType', 'CityType' => 'Zend_Service_DeveloperGarden_Response_IpLocation_CityType', ); /** * locate the given Ip address or array of addresses * * @param Zend_Service_DeveloperGarden_IpLocation_IpAddress|string $ip * @return Zend_Service_DeveloperGarden_Response_IpLocation_LocateIPResponse */ public function locateIP($ip) { $request = new Zend_Service_DeveloperGarden_Request_IpLocation_LocateIPRequest( $this->getEnvironment(), $ip ); $result = $this->getSoapClient()->locateIP($request); $response = new Zend_Service_DeveloperGarden_Response_IpLocation_LocateIPResponse($result); return $response->parse(); } }