Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]

   1  <?php
   2  
   3  namespace GeoIp2\Record;
   4  
   5  /**
   6   * Contains data for the represented country associated with an IP address.
   7   *
   8   * This class contains the country-level data associated with an IP address
   9   * for the IP's represented country. The represented country is the country
  10   * represented by something like a military base.
  11   *
  12   * @property-read string|null $type A string indicating the type of entity that is
  13   * representing the country. Currently we only return <code>military</code>
  14   * but this could expand to include other types in the future.
  15   */
  16  class RepresentedCountry extends Country
  17  {
  18      protected $validAttributes = [
  19          'confidence',
  20          'geonameId',
  21          'isInEuropeanUnion',
  22          'isoCode',
  23          'names',
  24          'type',
  25      ];
  26  }