GanConverter Class Reference
[Language]

Inherits LanguageConverter.

List of all members.

Public Member Functions

 __construct ($langobj, $maincode, $variants=array(), $variantfallbacks=array(), $flags=array(), $manualLevel=array())
 Constructor.
 loadDefaultTables ()
 Load default conversion tables.
 markNoConversion ($text, $noParse=false)
 Enclose a string with the "no conversion" tag.
 convertCategoryKey ($key)
 Convert the sorting key for category links.


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() 
)

Constructor.

Parameters:
$langobj The Language Object
$maincode String: the main language code of this language
$variants Array: the supported variants of this language
$variantfallbacks Array: the fallback language of each variant
$flags Array: defining the custom strings that maps to the flags
$manualLevel Array: limit for supported variants

Reimplemented from LanguageConverter.

Definition at line 11 of file LanguageGan.php.


Member Function Documentation

GanConverter::convertCategoryKey ( key  ) 

Convert the sorting key for category links.

This should make different keys that are variants of each other map to the same key.

Reimplemented from LanguageConverter.

Definition at line 48 of file LanguageGan.php.

References LanguageConverter::autoConvert().

GanConverter::loadDefaultTables (  ) 

Load default conversion tables.

This method must be implemented in derived class.

Access:
private

Reimplemented from LanguageConverter.

Definition at line 31 of file LanguageGan.php.

References $zh2Hans, and $zh2Hant.

GanConverter::markNoConversion ( text,
noParse = false 
)

Enclose a string with the "no conversion" tag.

This is used by various functions in the Parser.

Parameters:
string $text text to be tagged for no conversion
Returns:
string the tagged text
Access:
public

Reimplemented from LanguageConverter.

Definition at line 44 of file LanguageGan.php.


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

Generated on Sat Apr 30 22:57:38 2011 for MediaWiki by  doxygen 1.5.9