MediaWiki REL1_39
|
Since "base" is an overused term in class names and mostly means something else, we will call the base of a numeric representation a radix. More...
Public Member Functions | |
__construct ( $config) | |
getSerialIdForIndex (int $index) | |
Since "base" is an overused term in class names and mostly means something else, we will call the base of a numeric representation a radix.
This class converts integer serial numbers to strings using an arbitrary base between 2 and 36. It can skip certain IDs deemed to be "bad", e.g. because they spell offensive words.
Definition at line 17 of file FilteredRadixSerialMapping.php.
MediaWiki\User\TempUser\FilteredRadixSerialMapping::__construct | ( | $config | ) |
array | $config | See MainConfigSchema::AutoCreateTempUser |
Definition at line 30 of file FilteredRadixSerialMapping.php.
MediaWiki\User\TempUser\FilteredRadixSerialMapping::getSerialIdForIndex | ( | int | $index | ) |
int | $index |
Implements MediaWiki\User\TempUser\SerialMapping.
Definition at line 36 of file FilteredRadixSerialMapping.php.