[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

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

Simplified 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: 98 lines (3 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

LanguageZh_hans:: (4 methods):
  hasWordBreaks()
  segmentByWord()
  normalizeForSearch()
  formatDuration()


Class: LanguageZh_hans  - X-Ref

Simplified Chinese

hasWordBreaks()   X-Ref

return: bool

segmentByWord( $string )   X-Ref
Eventually this should be a word segmentation;
for now just treat each character as a word.

param: string $string
return: string

normalizeForSearch( $s )   X-Ref

param: string $s
return: string

formatDuration( $seconds, array $chosenIntervals = array()   X-Ref
Takes a number of seconds and turns it into a text using values such as hours and minutes.

param: int $seconds The amount of seconds.
param: array $chosenIntervals The intervals to enable.
return: string



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