You are here

private static property Database::$columns in Smart IP 6.2

Same name and namespace in other branches
  1. 7.2 includes/vendor/ip2location/ip2location-php/IP2Location.php \IP2Location\Database::columns

Column offset mapping

Each entry contains an array mapping databse version (0--23) to offset within a record. A value of 0 means the column is not present in the given database version.

@access private @static

Type: array

File

includes/vendor/ip2location/ip2location-php/IP2Location.php, line 400

Class

Database
IP2Location database class

Namespace

IP2Location

Code

private static $columns = [
  self::COUNTRY_CODE => [
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
  ],
  self::COUNTRY_NAME => [
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
    8,
  ],
  self::REGION_NAME => [
    0,
    0,
    12,
    12,
    12,
    12,
    12,
    12,
    12,
    12,
    12,
    12,
    12,
    12,
    12,
    12,
    12,
    12,
    12,
    12,
    12,
    12,
    12,
    12,
  ],
  self::CITY_NAME => [
    0,
    0,
    16,
    16,
    16,
    16,
    16,
    16,
    16,
    16,
    16,
    16,
    16,
    16,
    16,
    16,
    16,
    16,
    16,
    16,
    16,
    16,
    16,
    16,
  ],
  self::LATITUDE => [
    0,
    0,
    0,
    0,
    20,
    20,
    0,
    20,
    20,
    20,
    20,
    20,
    20,
    20,
    20,
    20,
    20,
    20,
    20,
    20,
    20,
    20,
    20,
    20,
  ],
  self::LONGITUDE => [
    0,
    0,
    0,
    0,
    24,
    24,
    0,
    24,
    24,
    24,
    24,
    24,
    24,
    24,
    24,
    24,
    24,
    24,
    24,
    24,
    24,
    24,
    24,
    24,
  ],
  self::ISP => [
    0,
    12,
    0,
    20,
    0,
    28,
    20,
    28,
    0,
    32,
    0,
    36,
    0,
    36,
    0,
    36,
    0,
    36,
    28,
    36,
    0,
    36,
    28,
    36,
  ],
  self::DOMAIN_NAME => [
    0,
    0,
    0,
    0,
    0,
    0,
    24,
    32,
    0,
    36,
    0,
    40,
    0,
    40,
    0,
    40,
    0,
    40,
    32,
    40,
    0,
    40,
    32,
    40,
  ],
  self::ZIP_CODE => [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    28,
    28,
    28,
    28,
    0,
    28,
    28,
    28,
    0,
    28,
    0,
    28,
    28,
    28,
    0,
    28,
  ],
  self::TIME_ZONE => [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    32,
    32,
    28,
    32,
    32,
    32,
    28,
    32,
    0,
    32,
    32,
    32,
    0,
    32,
  ],
  self::NET_SPEED => [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    32,
    44,
    0,
    44,
    32,
    44,
    0,
    44,
    0,
    44,
    0,
    44,
  ],
  self::IDD_CODE => [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    36,
    48,
    0,
    48,
    0,
    48,
    36,
    48,
    0,
    48,
  ],
  self::AREA_CODE => [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    40,
    52,
    0,
    52,
    0,
    52,
    40,
    52,
    0,
    52,
  ],
  self::WEATHER_STATION_CODE => [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    36,
    56,
    0,
    56,
    0,
    56,
    0,
    56,
  ],
  self::WEATHER_STATION_NAME => [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    40,
    60,
    0,
    60,
    0,
    60,
    0,
    60,
  ],
  self::MCC => [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    36,
    64,
    0,
    64,
    36,
    64,
  ],
  self::MNC => [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    40,
    68,
    0,
    68,
    40,
    68,
  ],
  self::MOBILE_CARRIER_NAME => [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    44,
    72,
    0,
    72,
    44,
    72,
  ],
  self::ELEVATION => [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    44,
    76,
    0,
    76,
  ],
  self::USAGE_TYPE => [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    48,
    80,
  ],
];