isInRegion; } /** * @return Zend_Service_DeveloperGarden_Response_IpLocation_GeoCoordinatesType */ public function getGeoCoordinates() { return $this->isInGeo; } /** * @return Zend_Service_DeveloperGarden_Response_IpLocation_CityType */ public function getCity() { return $this->isInCity; } /** * @return integer */ public function getIpType() { return $this->ipType; } /** * @return string */ public function getIpAddress() { return $this->ipAddress; } /** * @return integer */ public function getRadius() { return $this->radius; } /** * implement parsing * */ public function parse() { parent::parse(); if ($this->isInCity === null) { require_once 'Zend/Service/DeveloperGarden/Response/IpLocation/CityType.php'; $this->isInCity = new Zend_Service_DeveloperGarden_Response_IpLocation_CityType(); } if ($this->isInRegion === null) { require_once 'Zend/Service/DeveloperGarden/Response/IpLocation/RegionType.php'; $this->isInRegion = new Zend_Service_DeveloperGarden_Response_IpLocation_RegionType(); } if ($this->isInGeo === null) { require_once 'Zend/Service/DeveloperGarden/Response/IpLocation/GeoCoordinatesType.php'; $this->isInGeo = new Zend_Service_DeveloperGarden_Response_IpLocation_GeoCoordinatesType(); } return $this; } }