Overview

Namespaces

  • GeoIp2
    • Database
    • Exception
    • Model
    • Record
    • Test
      • Database
      • Model
      • WebService
    • WebService
  • MaxMind
    • MinFraud
      • Model
  • PHP

Classes

  • GeoIp2\Database\Reader
  • GeoIp2\Model\AnonymousIp
  • GeoIp2\Model\Asn
  • 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\Test\Database\ReaderTest
  • GeoIp2\Test\Model\CountryTest
  • GeoIp2\Test\Model\InsightsTest
  • GeoIp2\Test\Model\NameTest
  • GeoIp2\Test\WebService\ClientTest
  • GeoIp2\WebService\Client
  • MaxMind\MinFraud
  • MaxMind\MinFraud\Model\Address
  • MaxMind\MinFraud\Model\BillingAddress
  • MaxMind\MinFraud\Model\CreditCard
  • MaxMind\MinFraud\Model\Device
  • MaxMind\MinFraud\Model\Disposition
  • MaxMind\MinFraud\Model\Email
  • MaxMind\MinFraud\Model\Factors
  • MaxMind\MinFraud\Model\GeoIp2Country
  • MaxMind\MinFraud\Model\GeoIp2Location
  • MaxMind\MinFraud\Model\Insights
  • MaxMind\MinFraud\Model\IpAddress
  • MaxMind\MinFraud\Model\Issuer
  • MaxMind\MinFraud\Model\Score
  • MaxMind\MinFraud\Model\ScoreIpAddress
  • MaxMind\MinFraud\Model\ShippingAddress
  • MaxMind\MinFraud\Model\Subscores
  • MaxMind\MinFraud\Model\Warning

Interfaces

  • GeoIp2\ProviderInterface
  • JsonSerializable
  • Throwable

Exceptions

  • BadFunctionCallException
  • BadMethodCallException
  • Exception
  • GeoIp2\Exception\AddressNotFoundException
  • GeoIp2\Exception\AuthenticationException
  • GeoIp2\Exception\GeoIp2Exception
  • GeoIp2\Exception\HttpException
  • GeoIp2\Exception\InvalidRequestException
  • GeoIp2\Exception\OutOfQueriesException
  • InvalidArgumentException
  • LogicException
  • Overview
  • Namespace
  • Class
 1: <?php
 2: 
 3: namespace GeoIp2\Model;
 4: 
 5: /**
 6:  * This class provides the GeoIP2 Anonymous IP model.
 7:  *
 8:  * @property-read bool $isAnonymous This is true if the IP address belongs to
 9:  *     any sort of anonymous network.
10:  * @property-read bool $isAnonymousVpn This is true if the IP address belongs to
11:  *     an anonymous VPN system.
12:  * @property-read bool $isHostingProvider This is true if the IP address belongs
13:  *     to a hosting provider.
14:  * @property-read bool $isPublicProxy This is true if the IP address belongs to
15:  *     a public proxy.
16:  * @property-read bool $isTorExitNode This is true if the IP address is a Tor
17:  *     exit node.
18:  * @property-read string $ipAddress The IP address that the data in the model is
19:  *     for.
20:  */
21: class AnonymousIp extends AbstractModel
22: {
23:     protected $isAnonymous;
24:     protected $isAnonymousVpn;
25:     protected $isHostingProvider;
26:     protected $isPublicProxy;
27:     protected $isTorExitNode;
28:     protected $ipAddress;
29: 
30:     /**
31:      * @ignore
32:      *
33:      * @param mixed $raw
34:      */
35:     public function __construct($raw)
36:     {
37:         parent::__construct($raw);
38: 
39:         $this->isAnonymous = $this->get('is_anonymous');
40:         $this->isAnonymousVpn = $this->get('is_anonymous_vpn');
41:         $this->isHostingProvider = $this->get('is_hosting_provider');
42:         $this->isPublicProxy = $this->get('is_public_proxy');
43:         $this->isTorExitNode = $this->get('is_tor_exit_node');
44:         $this->ipAddress = $this->get('ip_address');
45:     }
46: }
47: 
minFraud PHP API v1.4.0 API documentation generated by ApiGen