[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/languages/classes/ -> LanguageGan.php (summary)

Gan 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: 118 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 3 files
 includes/ZhConversion.php
 languages/LanguageConverter.php
 languages/classes/LanguageZh.php

Defines 2 classes

GanConverter:: (3 methods):
  __construct()
  loadDefaultTables()
  convertCategoryKey()

LanguageGan:: (2 methods):
  __construct()
  normalizeForSearch()


Class: GanConverter  - 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

convertCategoryKey( $key )   X-Ref

param: string $key
return: string

Class: LanguageGan  - X-Ref

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

__construct()   X-Ref
No description

normalizeForSearch( $string, $autoVariant = 'gan-hans' )   X-Ref
word segmentation

param: string $string
param: string $autoVariant
return: string



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1