MediaWiki master
GenerateCollationData Class Reference

Generate first letter data files for Collation.php. More...

Inherits Maintenance.

Collaboration diagram for GenerateCollationData:

Public Member Functions

 __construct ()
 execute ()

Public Attributes

string $dataDir
 The directory with source data files in it.
resource bool $debugOutFile
array< int, bool > $mappedChars
 A hashtable keyed by codepoint, where presence indicates that a character has a decomposition mapping.
array< int, string > $weights
 The primary weights, indexed by codepoint.

Detailed Description

Generate first letter data files for Collation.php.

Definition at line 24 of file generateCollationData.php.

Constructor & Destructor Documentation

◆ __construct()

GenerateCollationData::__construct ( )

Definition at line 45 of file generateCollationData.php.

Member Function Documentation

◆ execute()

GenerateCollationData::execute ( )

Definition at line 54 of file generateCollationData.php.

Member Data Documentation

◆ $dataDir

string GenerateCollationData::$dataDir

The directory with source data files in it.

Definition at line 26 of file generateCollationData.php.

◆ $debugOutFile

resource bool GenerateCollationData::$debugOutFile

Definition at line 40 of file generateCollationData.php.

◆ $mappedChars

array<int,bool> GenerateCollationData::$mappedChars

A hashtable keyed by codepoint, where presence indicates that a character has a decomposition mapping.

This makes it non-preferred for group header selection.

Definition at line 37 of file generateCollationData.php.

◆ $weights

array<int,string> GenerateCollationData::$weights

The primary weights, indexed by codepoint.

Definition at line 29 of file generateCollationData.php.


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