Overview

Namespaces

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

Classes

  • AnonymousIp
  • Asn
  • City
  • ConnectionType
  • Country
  • Domain
  • Enterprise
  • Insights
  • Isp
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: 
 3: namespace GeoIp2\Model;
 4: 
 5: /**
 6:  * Model class for the data returned by GeoIP2 Enterprise database lookups.
 7:  *
 8:  * The only difference between the City and Enterprise 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:  * @property-read \GeoIp2\Record\Continent $continent Continent data for the
15:  * requested IP address.
16:  * @property-read \GeoIp2\Record\Country $country Country data for the requested
17:  * IP address. This object represents the country where MaxMind believes the
18:  * end user is located.
19:  * @property-read \GeoIp2\Record\Location $location Location data for the
20:  * requested IP address.
21:  * @property-read \GeoIp2\Record\MaxMind $maxmind Data related to your MaxMind
22:  * account.
23:  * @property-read \GeoIp2\Record\Country $registeredCountry Registered country
24:  * data for the requested IP address. This record represents the country
25:  * where the ISP has registered a given IP block and may differ from the
26:  * user's country.
27:  * @property-read \GeoIp2\Record\RepresentedCountry $representedCountry
28:  * Represented country data for the requested IP address. The represented
29:  * country is used for things like military bases. It is only present when
30:  * the represented country differs from the country.
31:  * @property-read array $subdivisions An array of {@link \GeoIp2\Record\Subdivision}
32:  * objects representing the country subdivisions for the requested IP
33:  * address. The number and type of subdivisions varies by country, but a
34:  * subdivision is typically a state, province, county, etc. Subdivisions
35:  * are ordered from most general (largest) to most specific (smallest).
36:  * If the response did not contain any subdivisions, this method returns
37:  * an empty array.
38:  * @property-read \GeoIp2\Record\Subdivision $mostSpecificSubdivision An  object
39:  * representing the most specific subdivision returned. If the response
40:  * did not contain any subdivisions, this method returns an empty
41:  * {@link \GeoIp2\Record\Subdivision} object.
42:  * @property-read \GeoIp2\Record\Traits $traits Data for the traits of the
43:  * requested IP address.
44:  */
45: class Enterprise extends City
46: {
47: }
48: 
GeoIP2 PHP API v2.7.0 API documentation generated by ApiGen 2.8.0