Added queriesRemaining

This commit is contained in:
Gregory Oschwald
2013-05-21 13:46:11 -07:00
parent 89f1bbdb65
commit e0baddaec0
7 changed files with 50 additions and 0 deletions
+3
View File
@@ -23,6 +23,9 @@ namespace GeoIP2\Model;
* @property \GeoIP2\Record\Location $location Location data for the
* requested IP address.
*
* @property \GeoIP2\Record\MaxMind $maxmind Data related to your MaxMind
* account.
*
* @property \GeoIP2\Record\Country $registeredCountry Registered country
* data for the requested IP address. This record represents the country
* where the ISP has registered a given IP block in and may differ from the
+3
View File
@@ -23,6 +23,9 @@ namespace GeoIP2\Model;
* @property \GeoIP2\Record\Location $location Location data for the
* requested IP address.
*
* @property \GeoIP2\Record\MaxMind $maxmind Data related to your MaxMind
* account.
*
* @property \GeoIP2\Record\Country $registeredCountry Registered country
* data for the requested IP address. This record represents the country
* where the ISP has registered a given IP block in and may differ from the
+5
View File
@@ -17,6 +17,9 @@ namespace GeoIP2\Model;
* IP address. This object represents the country where MaxMind believes the
* end user is located.
*
* @property \GeoIP2\Record\MaxMind $maxmind Data related to your MaxMind
* account.
*
* @property \GeoIP2\Record\Country $registeredCountry Registered country
* data for the requested IP address. This record represents the country
* where the ISP has registered a given IP block in and may differ from the
@@ -35,6 +38,7 @@ class Country
private $continent;
private $country;
private $languages;
private $maxmind;
private $registeredCountry;
private $representedCountry;
private $traits;
@@ -55,6 +59,7 @@ class Country
$this->get('country'),
$languages
);
$this->maxmind = new \GeoIP2\Record\MaxMind($this->get('maxmind'));
$this->registeredCountry = new \GeoIP2\Record\Country(
$this->get('registered_country'),
$languages
+3
View File
@@ -23,6 +23,9 @@ namespace GeoIP2\Model;
* @property \GeoIP2\Record\Location $location Location data for the
* requested IP address.
*
* @property \GeoIP2\Record\MaxMind $maxmind Data related to your MaxMind
* account.
*
* @property \GeoIP2\Record\Country $registeredCountry Registered country
* data for the requested IP address. This record represents the country
* where the ISP has registered a given IP block in and may differ from the