vB_Utility_Geoip_None
extends vB_Utility_Geoip
in package
vB_Utility_Geoip
Table of Contents
Methods
- __serialize() : array<string|int, mixed>
- __sleep() : array<string|int, mixed>
- __unserialize() : void
- __wakeup() : void
- getIpData() : string
- This is public to allow for diagnostic testing. It is not intended for general use.
- getLocation() : mixed
Methods
__serialize()
public
__serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>__sleep()
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>__unserialize()
public
__unserialize(mixed $serialized) : void
Parameters
- $serialized : mixed
__wakeup()
public
__wakeup() : void
getIpData()
This is public to allow for diagnostic testing. It is not intended for general use.
public
getIpData(mixed $address) : string
Parameters
- $address : mixed
-
-- The IP address to check
Return values
string —-- the raw text of the response (presumable JSON or some other serialization format)
getLocation()
public
getLocation(mixed $address) : mixed
Parameters
- $address : mixed