MediaWiki  REL1_22
GenerateCollationData Class Reference

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

Inheritance diagram for GenerateCollationData:
Collaboration diagram for GenerateCollationData:

List of all members.

Public Member Functions

 __construct ()
 charCallback ($data)
 execute ()
 generateFirstChars ()
 loadUcd ()

Public Attributes

 $dataDir
 The directory with source data files in it.
 $debugOutFile
 $mappedChars
 A hashtable keyed by codepoint, where presence indicates that a character has a decomposition mapping.
 $weights
 The primary weights, indexed by codepoint.
const NORMAL_HIRAGANA = 0X0E
const NORMAL_UPPERCASE = 0x08
 Important tertiary weights from UTS #10 section 7.2.

Detailed Description

Generate first letter data files for Collation.php.

Definition at line 31 of file generateCollationData.php.


Constructor & Destructor Documentation

Reimplemented from Maintenance.

Definition at line 53 of file generateCollationData.php.

References Maintenance\addOption().


Member Function Documentation

Definition at line 155 of file generateCollationData.php.

References IcuCollation\isCjk(), and print.

Definition at line 150 of file generateCollationData.php.

References array().

Referenced by execute().


Member Data Documentation

GenerateCollationData::$dataDir

The directory with source data files in it.

Definition at line 33 of file generateCollationData.php.

GenerateCollationData::$debugOutFile

Definition at line 45 of file generateCollationData.php.

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 43 of file generateCollationData.php.

GenerateCollationData::$weights

The primary weights, indexed by codepoint.

Definition at line 36 of file generateCollationData.php.

Definition at line 51 of file generateCollationData.php.

Important tertiary weights from UTS #10 section 7.2.

Definition at line 50 of file generateCollationData.php.


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