You are here

function simplenews_statistics_encoder_base_encode_mapping in Simplenews Statistics 7

Same name and namespace in other branches
  1. 7.2 simplenews_statistics_encoder/encoder.inc \simplenews_statistics_encoder_base_encode_mapping()

The very first 4-char number is 238328. The very first 3-char number is 3844.

2 calls to simplenews_statistics_encoder_base_encode_mapping()
simplenews_statistics_encoder_base_decode_mapping in simplenews_statistics_encoder/encoder.inc
simplenews_statistics_encoder_encode in simplenews_statistics_encoder/encoder.inc

File

simplenews_statistics_encoder/encoder.inc, line 92
Encoder for IDs. Some logic borrowed from shorturl module.

Code

function simplenews_statistics_encoder_base_encode_mapping() {
  return array(
    'q',
    'l',
    'i',
    '3',
    'O',
    'c',
    'x',
    'a',
    'C',
    '1',
    'r',
    'Y',
    'g',
    '4',
    '2',
    'T',
    'b',
    'j',
    'D',
    'W',
    'Z',
    'B',
    'K',
    'k',
    '0',
    '8',
    '9',
    'X',
    'I',
    '5',
    'N',
    'R',
    'n',
    'Q',
    'U',
    'P',
    'E',
    'm',
    'y',
    'V',
    'p',
    'd',
    'v',
    'w',
    'f',
    'G',
    '7',
    'A',
    'o',
    's',
    'H',
    '6',
    'F',
    'L',
    'M',
    'e',
    't',
    'z',
    'u',
    'J',
    'S',
    'h',
  );
}