private function ShortURLMigration::shorturl_base_encode_mapping in ShURLy 7
The very first 4-char number is 238328 The very first 3-char number is 3844
1 call to ShortURLMigration::shorturl_base_encode_mapping()
- ShortURLMigration::shortUrlDecode in shurly_migration/
shurly_migration.migrate.inc - Encode number (index of the URL) into url using alpha-numeric mapping (basically copied from shorturl.module)
File
- shurly_migration/
shurly_migration.migrate.inc, line 95
Class
- ShortURLMigration
- Class ShortURLMigration migrates from Shurly Drupal 6 module
Code
private function shorturl_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',
);
}