You are here

class MaxmindGeoip2BinDb in Smart IP 8.3

Same name and namespace in other branches
  1. 8.4 modules/smart_ip_maxmind_geoip2_bin_db/src/MaxmindGeoip2BinDb.php \Drupal\smart_ip_maxmind_geoip2_bin_db\MaxmindGeoip2BinDb

Hierarchy

Expanded class hierarchy of MaxmindGeoip2BinDb

2 files declare their use of MaxmindGeoip2BinDb
DatabaseFileUtility.php in modules/smart_ip_maxmind_geoip2_bin_db/src/DatabaseFileUtility.php
Contains \Drupal\smart_ip_maxmind_geoip2_bin_db\DatabaseFileUtility.
SmartIpEventSubscriber.php in modules/smart_ip_maxmind_geoip2_bin_db/src/EventSubscriber/SmartIpEventSubscriber.php
Contains \Drupal\smart_ip_maxmind_geoip2_bin_db\EventSubscriber\SmartIpEventSubscriber.

File

modules/smart_ip_maxmind_geoip2_bin_db/src/MaxmindGeoip2BinDb.php, line 10
Contains \Drupal\smart_ip_maxmind_geoip2_bin_db\MaxmindGeoip2BinDb.

Namespace

Drupal\smart_ip_maxmind_geoip2_bin_db
View source
class MaxmindGeoip2BinDb {

  /**
   * MaxMind GeoIP2 licensed version.
   */
  const LINCENSED_VERSION = 'licensed';

  /**
   * MaxMind GeoIP2 lite or free version.
   */
  const LITE_VERSION = 'lite';

  /**
   * MaxMind GeoIP2 "City" edition.
   */
  const CITY_EDITION = 'city';

  /**
   * MaxMind GeoIP2 "Coutry" edition.
   */
  const COUNTRY_EDITION = 'country';

  /**
   * MaxMind GeoIP2 licensed version download URL.
   */
  const LINCENSED_DL_URL = 'https://download.maxmind.com/app/geoip_download';

  /**
   * MaxMind GeoIP2 lite or free version download URL.
   */
  const LITE_DL_URL = 'https://download.maxmind.com/app/geoip_download';

  /**
   * MaxMind GeoIP2 licensed version city edition binary database filename.
   * Can be verified at:
   * http://updates.maxmind.com/app/update_getfilename?product_id=GeoIP2-City
   */
  const FILENAME_LINCENSED_CITY = 'GeoIP2-City';

  /**
   * MaxMind GeoIP2 lite or free version city edition binary database filename.
   * Can be verified at:
   * http://updates.maxmind.com/app/update_getfilename?product_id=GeoLite2-City
   */
  const FILENAME_LITE_CITY = 'GeoLite2-City';

  /**
   * MaxMind GeoIP2 licensed version country edition binary database filename.
   * Can be verified at:
   * http://updates.maxmind.com/app/update_getfilename?product_id=GeoIP2-Country
   */
  const FILENAME_LINCENSED_COUNTRY = 'GeoIP2-Country';

  /**
   * MaxMind GeoIP2 lite or free version country edition binary database
   * filename. Can be verified at:
   * http://updates.maxmind.com/app/update_getfilename?product_id=GeoLite2-Country
   */
  const FILENAME_LITE_COUNTRY = 'GeoLite2-Country';

  /**
   * MaxMind GeoIP2 binary database file extension name.
   */
  const FILE_EXTENSION = '.mmdb';

}

Members

Namesort descending Modifiers Type Description Overrides
MaxmindGeoip2BinDb::CITY_EDITION constant MaxMind GeoIP2 "City" edition.
MaxmindGeoip2BinDb::COUNTRY_EDITION constant MaxMind GeoIP2 "Coutry" edition.
MaxmindGeoip2BinDb::FILENAME_LINCENSED_CITY constant MaxMind GeoIP2 licensed version city edition binary database filename. Can be verified at: http://updates.maxmind.com/app/update_getfilename?product_id=GeoIP2-City
MaxmindGeoip2BinDb::FILENAME_LINCENSED_COUNTRY constant MaxMind GeoIP2 licensed version country edition binary database filename. Can be verified at: http://updates.maxmind.com/app/update_getfilename?product_id=GeoIP2-Country
MaxmindGeoip2BinDb::FILENAME_LITE_CITY constant MaxMind GeoIP2 lite or free version city edition binary database filename. Can be verified at: http://updates.maxmind.com/app/update_getfilename?product_id=GeoLite2-City
MaxmindGeoip2BinDb::FILENAME_LITE_COUNTRY constant MaxMind GeoIP2 lite or free version country edition binary database filename. Can be verified at: http://updates.maxmind.com/app/update_getfilename?product_id=GeoLite2-Co...
MaxmindGeoip2BinDb::FILE_EXTENSION constant MaxMind GeoIP2 binary database file extension name.
MaxmindGeoip2BinDb::LINCENSED_DL_URL constant MaxMind GeoIP2 licensed version download URL.
MaxmindGeoip2BinDb::LINCENSED_VERSION constant MaxMind GeoIP2 licensed version.
MaxmindGeoip2BinDb::LITE_DL_URL constant MaxMind GeoIP2 lite or free version download URL.
MaxmindGeoip2BinDb::LITE_VERSION constant MaxMind GeoIP2 lite or free version.