| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Chinese specific code. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
| File Size: | 198 lines (6 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 3 files languages/classes/LanguageZh_hans.php includes/ZhConversion.php languages/LanguageConverter.php |
ZhConverter:: (4 methods):
__construct()
loadDefaultTables()
postLoadTables()
convertCategoryKey()
LanguageZh:: (5 methods):
__construct()
segmentForDiff()
unsegmentForDiff()
normalizeForSearch()
convertForSearchResult()
Class: ZhConverter - X-Ref
| __construct( $langobj, $maincode,$variants = array() X-Ref |
param: Language $langobj param: string $maincode param: array $variants param: array $variantfallbacks param: array $flags param: array $manualLevel |
| loadDefaultTables() X-Ref |
| No description |
| postLoadTables() X-Ref |
| No description |
| convertCategoryKey( $key ) X-Ref |
param: string $key return: string |
Class: LanguageZh - X-Ref
class that handles both Traditional and Simplified Chinese| __construct() X-Ref |
| No description |
| segmentForDiff( $text ) X-Ref |
| this should give much better diff info param: string $text return: string |
| unsegmentForDiff( $text ) X-Ref |
param: string $text return: string |
| normalizeForSearch( $string, $autoVariant = 'zh-hans' ) X-Ref |
| auto convert to zh-hans and normalize special characters. param: string $string param: string $autoVariant Defaults to 'zh-hans' return: string |
| convertForSearchResult( $termsArray ) X-Ref |
param: array $termsArray return: array |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |