MediaWiki master
MediaWiki\User\TempUser\ReadableNumericSerialMapping Class Reference

Simple serial mapping for ASCII decimal numbers with hyphens for readability. More...

Inherits MediaWiki\User\TempUser\SerialMapping.

Collaboration diagram for MediaWiki\User\TempUser\ReadableNumericSerialMapping:

Public Member Functions

 __construct ( $config)
 
 getSerialIdForIndex (int $index)
 

Detailed Description

Simple serial mapping for ASCII decimal numbers with hyphens for readability.

Since
1.44

Definition at line 10 of file ReadableNumericSerialMapping.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\User\TempUser\ReadableNumericSerialMapping::__construct ( $config)
Parameters
array$config

Definition at line 16 of file ReadableNumericSerialMapping.php.

Member Function Documentation

◆ getSerialIdForIndex()

MediaWiki\User\TempUser\ReadableNumericSerialMapping::getSerialIdForIndex ( int $index)
Parameters
int$index
Returns
string The serial ID. This should consist of title characters but should not be a single asterisk.

Implements MediaWiki\User\TempUser\SerialMapping.

Definition at line 20 of file ReadableNumericSerialMapping.php.


The documentation for this class was generated from the following file: