MediaWiki
REL1_22
|
Simplified Chinese. More...
Public Member Functions | |
formatDuration ($seconds, array $chosenIntervals=array()) | |
Takes a number of seconds and turns it into a text using values such as hours and minutes. | |
hasWordBreaks () | |
normalizeForSearch ($s) | |
segmentByWord ($string) | |
Eventually this should be a word segmentation; for now just treat each character as a word. |
Simplified Chinese.
Definition at line 29 of file LanguageZh_hans.php.
LanguageZh_hans::formatDuration | ( | $ | seconds, |
array $ | chosenIntervals = array() |
||
) |
Takes a number of seconds and turns it into a text using values such as hours and minutes.
integer | $seconds | The amount of seconds. |
array | $chosenIntervals | The intervals to enable. |
Reimplemented from Language.
Definition at line 79 of file LanguageZh_hans.php.
References array(), as, empty, Language\getDurationIntervals(), and wfMessage().
$s |
Reimplemented from Language.
Definition at line 57 of file LanguageZh_hans.php.
References $s, segmentByWord(), wfProfileIn(), and wfProfileOut().
LanguageZh_hans::segmentByWord | ( | $ | string | ) |
Eventually this should be a word segmentation; for now just treat each character as a word.
$string | string |
Reimplemented from Language.
Definition at line 47 of file LanguageZh_hans.php.
References $s, and Language\insertSpace().
Referenced by normalizeForSearch().