MediaWiki  REL1_20
LanguageZh_hans Class Reference

Simplified Chinese. More...

Inheritance diagram for LanguageZh_hans:
Collaboration diagram for LanguageZh_hans:

List of all members.

Public Member Functions

 hasWordBreaks ()
 normalizeForSearch ($s)
 segmentByWord ($string)
 Eventually this should be a word segmentation; for now just treat each character as a word.

Detailed Description

Simplified Chinese.

Definition at line 29 of file LanguageZh_hans.php.


Member Function Documentation

Returns:
bool

Reimplemented from Language.

Definition at line 34 of file LanguageZh_hans.php.

Parameters:
$s
Returns:
string

Reimplemented from Language.

Definition at line 57 of file LanguageZh_hans.php.

References $s, segmentByWord(), wfProfileIn(), and wfProfileOut().

Eventually this should be a word segmentation; for now just treat each character as a word.

Todo:
FIXME: Only do this for Han characters...
Parameters:
$stringstring
Returns:
string

Reimplemented from Language.

Definition at line 47 of file LanguageZh_hans.php.

References $s, and Language\insertSpace().

Referenced by normalizeForSearch().


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