GeoIP2 PHP API v2.4.4
  • Namespace
  • Class

Namespaces

  • GeoIp2
    • Database
    • Exception
    • Model
    • Record
    • WebService
  • MaxMind
    • Db
      • Reader
  • PHP

Classes

  • GeoIp2\Database\Reader
  • GeoIp2\Model\AnonymousIp
  • GeoIp2\Model\City
  • GeoIp2\Model\ConnectionType
  • GeoIp2\Model\Country
  • GeoIp2\Model\Domain
  • GeoIp2\Model\Enterprise
  • GeoIp2\Model\Insights
  • GeoIp2\Model\Isp
  • GeoIp2\Record\AbstractPlaceRecord
  • GeoIp2\Record\AbstractRecord
  • GeoIp2\Record\City
  • GeoIp2\Record\Continent
  • GeoIp2\Record\Country
  • GeoIp2\Record\Location
  • GeoIp2\Record\MaxMind
  • GeoIp2\Record\Postal
  • GeoIp2\Record\RepresentedCountry
  • GeoIp2\Record\Subdivision
  • GeoIp2\Record\Traits
  • GeoIp2\WebService\Client
  • MaxMind\Db\Reader
  • MaxMind\Db\Reader\Decoder
  • MaxMind\Db\Reader\Metadata
  • MaxMind\Db\Reader\Util

Interfaces

  • GeoIp2\ProviderInterface

Exceptions

  • BadFunctionCallException
  • BadMethodCallException
  • Exception
  • GeoIp2\Exception\AddressNotFoundException
  • GeoIp2\Exception\AuthenticationException
  • GeoIp2\Exception\GeoIp2Exception
  • GeoIp2\Exception\HttpException
  • GeoIp2\Exception\InvalidRequestException
  • GeoIp2\Exception\OutOfQueriesException
  • InvalidArgumentException
  • LogicException
  • MaxMind\Db\Reader\InvalidDatabaseException
 1 <?php
 2 
 3 namespace GeoIp2\Model;
 4 
 5 /**
 6  * Model class for the data returned by GeoIP2 Precision: Insights web service.
 7  *
 8  * The only difference between the City and Insights model classes is which
 9  * fields in each record may be populated. See
10  * http://dev.maxmind.com/geoip/geoip2/web-services more details.
11  *
12  * @property-read \GeoIp2\Record\City $city City data for the requested IP
13  * address.
14  *
15  * @property-read \GeoIp2\Record\Continent $continent Continent data for the
16  * requested IP address.
17  *
18  * @property-read \GeoIp2\Record\Country $country Country data for the requested
19  * IP address. This object represents the country where MaxMind believes the
20  * end user is located.
21  *
22  * @property-read \GeoIp2\Record\Location $location Location data for the
23  * requested IP address.
24  *
25  * @property-read \GeoIp2\Record\MaxMind $maxmind Data related to your MaxMind
26  * account.
27  *
28  * @property-read \GeoIp2\Record\Country $registeredCountry Registered country
29  * data for the requested IP address. This record represents the country
30  * where the ISP has registered a given IP block and may differ from the
31  * user's country.
32  *
33  * @property-read \GeoIp2\Record\RepresentedCountry $representedCountry
34  * Represented country data for the requested IP address. The represented
35  * country is used for things like military bases. It is only present when
36  * the represented country differs from the country.
37  *
38  * @property-read array $subdivisions An array of {@link \GeoIp2\Record\Subdivision}
39  * objects representing the country subdivisions for the requested IP
40  * address. The number and type of subdivisions varies by country, but a
41  * subdivision is typically a state, province, county, etc. Subdivisions
42  * are ordered from most general (largest) to most specific (smallest).
43  * If the response did not contain any subdivisions, this method returns
44  * an empty array.
45  *
46  * @property-read \GeoIp2\Record\Subdivision $mostSpecificSubdivision An  object
47  * representing the most specific subdivision returned. If the response
48  * did not contain any subdivisions, this method returns an empty
49  * {@link \GeoIp2\Record\Subdivision} object.
50  *
51  * @property-read \GeoIp2\Record\Traits $traits Data for the traits of the
52  * requested IP address.
53  */
54 class Insights extends City
55 {
56 }
57 
GeoIP2 PHP API v2.4.4 API documentation generated by ApiGen