public function AnonymousIp::__construct in Smart IP 6.2
Same name and namespace in other branches
- 7.2 includes/vendor/geoip2/geoip2/src/Model/AnonymousIp.php \GeoIp2\Model\AnonymousIp::__construct()
@ignore
Overrides AbstractModel::__construct
File
- includes/
vendor/ geoip2/ geoip2/ src/ Model/ AnonymousIp.php, line 39
Class
- AnonymousIp
- This class provides the GeoIP2 Anonymous IP model.
Namespace
GeoIp2\ModelCode
public function __construct($raw) {
parent::__construct($raw);
$this->isAnonymous = $this
->get('is_anonymous');
$this->isAnonymousVpn = $this
->get('is_anonymous_vpn');
$this->isHostingProvider = $this
->get('is_hosting_provider');
$this->isPublicProxy = $this
->get('is_public_proxy');
$this->isTorExitNode = $this
->get('is_tor_exit_node');
$this->ipAddress = $this
->get('ip_address');
}