MediaWiki REL1_39
MediaWiki\User\TempUser\LocalizedNumericSerialMapping Class Reference

Serial mapping which uses a Language object to format serial numbers. More...

Inheritance diagram for MediaWiki\User\TempUser\LocalizedNumericSerialMapping:
Collaboration diagram for MediaWiki\User\TempUser\LocalizedNumericSerialMapping:

Public Member Functions

 __construct ( $config, LanguageFactory $languageFactory)
 
 getSerialIdForIndex (int $index)
 

Detailed Description

Serial mapping which uses a Language object to format serial numbers.

Since
1.39

Definition at line 13 of file LocalizedNumericSerialMapping.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\User\TempUser\LocalizedNumericSerialMapping::__construct ( $config,
LanguageFactory $languageFactory )
Parameters
array$config
  • language: The language code
LanguageFactory$languageFactory

Definition at line 22 of file LocalizedNumericSerialMapping.php.

References MediaWiki\Languages\LanguageFactory\getLanguage().

Member Function Documentation

◆ getSerialIdForIndex()

MediaWiki\User\TempUser\LocalizedNumericSerialMapping::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 26 of file LocalizedNumericSerialMapping.php.


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