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

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.

Detailed Description

Definition at line 9 of file LanguageGan.php.


Constructor & Destructor Documentation

GanConverter::__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 LanguageGan.php.


Member Function Documentation

Parameters:
$keystring
Returns:
String

Reimplemented from LanguageConverter.

Definition at line 66 of file LanguageGan.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 39 of file LanguageGan.php.

References $zh2Hans, and $zh2Hant.

GanConverter::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 58 of file LanguageGan.php.


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