Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
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

GeoIp2 Record City $city
 @ignore
 
GeoIp2 Record Continent $continent
 
GeoIp2 Record Country $country
 
array< string > $locales
 
GeoIp2 Record Location $location
 @ignore
 
GeoIp2 Record MaxMind $maxmind
 
GeoIp2 Record Postal $postal
 @ignore
 
GeoIp2 Record Country $registeredCountry
 
GeoIp2 Record RepresentedCountry $representedCountry
 
array<\GeoIp2\Record\Subdivision$subdivisions = []
 @ignore
 
GeoIp2 Record Traits $traits
 
array< string, $raw;public function __construct(array $raw) { $this-> raw = $raw
 mixed>
 

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

Return values
mixed

Reimplemented from GeoIp2\Model\AbstractModel.

◆ __isset()

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

@ignore

Reimplemented from GeoIp2\Model\AbstractModel.

◆ get()

GeoIp2\Model\AbstractModel::get ( string $field)
protectedinherited

@ignore

Return values
mixed

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