Moodle PHP Documentation 4.1
Moodle 4.1.19+ (Build: 20250706) (3342f23b299)
GeoIp2\Model\City Class Reference
Inheritance diagram for GeoIp2\Model\City:
GeoIp2\Model\Country GeoIp2\Model\AbstractModel GeoIp2\Model\Enterprise GeoIp2\Model\Insights

Public Member Functions

 __construct (array $raw, array $locales=['en'])
 @ignore
 
 __get (string $attr)
 @ignore
 
 __isset (string $attr)
 @ignore
 
 jsonSerialize ()
 

Protected Member Functions

 get (string $field)
 @ignore
 

Protected Attributes

 $city
 @ignore
 
 $continent
 
 $country
 
 $locales
 
 $location
 @ignore
 
 $maxmind
 
 $postal
 @ignore
 
 $raw
 
 $registeredCountry
 
 $representedCountry
 
 $subdivisions = []
 @ignore
 
 $traits
 

Constructor & Destructor Documentation

◆ __construct()

GeoIp2\Model\City::__construct ( array $raw,
array $locales = ['en'] )

@ignore

Reimplemented from GeoIp2\Model\Country.

Member Function Documentation

◆ __get()

GeoIp2\Model\City::__get ( string $attr)

@ignore

Reimplemented from GeoIp2\Model\AbstractModel.

◆ __isset()

GeoIp2\Model\City::__isset ( string $attr)

@ignore

Reimplemented from GeoIp2\Model\AbstractModel.


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