LanguageGan Class Reference
[Language]

class that handles both Traditional and Simplified Chinese right now it only distinguish gan_hans, gan_hant. More...

Inherits LanguageZh.

List of all members.

Public Member Functions

 __construct ()
 segmentForDiff ($text)
 languages like Chinese need to be segmented in order for the diff to be of any use
 unsegmentForDiff ($text)
 and unsegment to show the result
 stripForSearch ($string)
 Some languages have special punctuation to strip out or characters which need to be converted for MySQL's indexing to grok it correctly.
 convertForSearchResult ($termsArray)


Detailed Description

class that handles both Traditional and Simplified Chinese right now it only distinguish gan_hans, gan_hant.

Definition at line 102 of file LanguageGan.php.


Constructor & Destructor Documentation

LanguageGan::__construct (  ) 

Reimplemented from LanguageZh.

Definition at line 104 of file LanguageGan.php.

References $wgHooks.


Member Function Documentation

LanguageGan::convertForSearchResult ( termsArray  ) 

Reimplemented from LanguageZh.

Definition at line 162 of file LanguageGan.php.

LanguageGan::segmentForDiff ( text  ) 

languages like Chinese need to be segmented in order for the diff to be of any use

Parameters:
$text String
Returns:
String

Reimplemented from LanguageZh.

Definition at line 127 of file LanguageGan.php.

References $text.

LanguageGan::stripForSearch ( string  ) 

Some languages have special punctuation to strip out or characters which need to be converted for MySQL's indexing to grok it correctly.

Make such changes here.

Parameters:
$string String
Returns:
String

Reimplemented from LanguageZh.

Definition at line 140 of file LanguageGan.php.

References $t, wfProfileIn(), and wfProfileOut().

LanguageGan::unsegmentForDiff ( text  ) 

and unsegment to show the result

Parameters:
$text String
Returns:
String

Reimplemented from LanguageZh.

Definition at line 133 of file LanguageGan.php.

References $text.


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

Generated on Sat Sep 5 02:08:40 2009 for MediaWiki by  doxygen 1.5.9