MediaWiki  REL1_19
ZhConverter Class Reference
Inheritance diagram for ZhConverter:
Collaboration diagram for ZhConverter:

List of all members.

Public Member Functions

 __construct ($langobj, $maincode, $variants=array(), $variantfallbacks=array(), $flags=array(), $manualLevel=array())
 convertCategoryKey ($key)
 loadDefaultTables ()
 Load default conversion tables.
 markNoConversion ($text, $noParse=false)
 there shouldn't be any latin text in Chinese conversion, so no need to mark anything.
 postLoadTables ()
 Hook for post processing after conversion tables are loaded.

Detailed Description

Definition at line 9 of file LanguageZh.php.


Constructor & Destructor Documentation

ZhConverter::__construct ( langobj,
maincode,
variants = array(),
variantfallbacks = array(),
flags = array(),
manualLevel = array() 
)
Parameters:
$langobjLanguage
$maincodestring
$variantsarray
$variantfallbacksarray
$flagsarray
$manualLevelarray

Reimplemented from LanguageConverter.

Definition at line 19 of file LanguageZh.php.


Member Function Documentation

Parameters:
$keystring
Returns:
String

Reimplemented from LanguageConverter.

Definition at line 87 of file LanguageZh.php.

References LanguageConverter\autoConvert().

Here is the call graph for this function:

Load default conversion tables.

This method must be implemented in derived class.

Access:
private

Reimplemented from LanguageConverter.

Definition at line 45 of file LanguageZh.php.

References $zh2CN, $zh2Hans, $zh2Hant, $zh2HK, $zh2SG, and $zh2TW.

ZhConverter::markNoConversion ( text,
noParse = false 
)

there shouldn't be any latin text in Chinese conversion, so no need to mark anything.

$noParse is there for compatibility with LanguageConvert::markNoConversion

Parameters:
$textstring
$noParsebool
Returns:
string

Reimplemented from LanguageConverter.

Definition at line 79 of file LanguageZh.php.

Hook for post processing after conversion tables are loaded.

Reimplemented from LanguageConverter.

Definition at line 60 of file LanguageZh.php.


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