Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
GeoIp2\Model\Country Class Reference
Inheritance diagram for GeoIp2\Model\Country:
GeoIp2\Model\AbstractModel GeoIp2\Model\City 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 Continent $continent
 
GeoIp2 Record Country $country
 
array< string > $locales
 
GeoIp2 Record MaxMind $maxmind
 
GeoIp2 Record Country $registeredCountry
 
GeoIp2 Record RepresentedCountry $representedCountry
 
GeoIp2 Record Traits $traits
 
array< string, $raw;public function __construct(array $raw) { $this-> raw = $raw
 mixed>
 

Constructor & Destructor Documentation

◆ __construct()

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

@ignore

Reimplemented in GeoIp2\Model\City.

Member Function Documentation

◆ __get()

GeoIp2\Model\AbstractModel::__get ( string $attr)
inherited

@ignore

Return values
mixed

Reimplemented in GeoIp2\Model\City.

◆ __isset()

GeoIp2\Model\AbstractModel::__isset ( string $attr)
inherited

@ignore

Reimplemented in GeoIp2\Model\City.

◆ get()

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

@ignore

Return values
mixed

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