Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
GeoIp2\Model\Isp Class Reference
Inheritance diagram for GeoIp2\Model\Isp:

Public Member Functions

 __construct (array $raw)
 @ignore
 
 jsonSerialize ()
 

Public Attributes

int null readonly int $autonomousSystemNumber
 the autonomous system number associated with the IP address
 
string null readonly string $autonomousSystemOrganization
 the organization associated with the registered autonomous system number for the IP address
 
string readonly string $ipAddress
 the IP address that the data in the model is for
 
string null readonly string $isp
 the name of the ISP associated with the IP address
 
string null readonly string $mobileCountryCode
 The mobile country code (MCC) associated with the IP address and ISP.
 
string null readonly string $mobileNetworkCode
 The mobile network code (MNC) associated with the IP address and ISP.
 
string readonly string $network
 The network in CIDR notation associated with the record.
 
string null readonly string $organization
 the name of the organization associated with the IP address
 

Constructor & Destructor Documentation

◆ __construct()

GeoIp2\Model\Isp::__construct ( array $raw)

@ignore

Parameters
array<string,mixed>$raw

Member Function Documentation

◆ jsonSerialize()

GeoIp2\Model\Isp::jsonSerialize ( )
Return values
array<string,mixed>|null

Member Data Documentation

◆ $network

string readonly string GeoIp2\Model\Isp::$network

The network in CIDR notation associated with the record.

In particular, this is the largest network where all of the fields besides $ipAddress have the same value.


The documentation for this class was generated from the following file: