|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
Public Member Functions | |
| __construct (array $raw) | |
| @ignore | |
| jsonSerialize () | |
Public Attributes | |
| string readonly string | $ipAddress |
| the IP address that the data in the model is for | |
| bool readonly bool | $isAnonymous |
| this is true if the IP address belongs to any sort of anonymous network | |
| bool readonly bool | $isAnonymousVpn |
| This is true if the IP address is registered to an anonymous VPN provider. | |
| bool readonly bool | $isHostingProvider |
| this is true if the IP address belongs to a hosting or VPN provider (see description of isAnonymousVpn property) | |
| bool readonly bool | $isPublicProxy |
| this is true if the IP address belongs to a public proxy | |
| bool readonly bool | $isResidentialProxy |
| this is true if the IP address is on a suspected anonymizing network and belongs to a residential ISP | |
| bool readonly bool | $isTorExitNode |
| this is true if the IP address is a Tor exit node | |
| string readonly string | $network |
| The network in CIDR notation associated with the record. | |
| bool readonly bool GeoIp2\Model\AnonymousIp::$isAnonymousVpn |
This is true if the IP address is registered to an anonymous VPN provider.
If a VPN provider does not register subnets under names associated with them, we will likely only flag their IP ranges using the isHostingProvider property.
| string readonly string GeoIp2\Model\AnonymousIp::$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.