[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

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

Belarusian in Taraškievica orthography (Беларуская тарашкевіца) 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.

Author: Ævar Arnfjörð Bjarmason <[email protected]>
License: http://www.gnu.org/copyleft/gpl.html GNU General Public License
License: http://www.gnu.org/copyleft/fdl.html GNU Free Documentation License
File Size: 76 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

LanguageBe_tarask:: (2 methods):
  normalizeForSearch()
  commafy()


Class: LanguageBe_tarask  - X-Ref

Belarusian in Taraškievica orthography (Беларуская тарашкевіца)

normalizeForSearch( $string )   X-Ref
The Belarusian language uses apostrophe sign,
but the characters used for this could be both U+0027 and U+2019.
This function unifies apostrophe sign in search index values
to enable seach using both apostrophe signs.

param: string $string
return: string

commafy( $_ )   X-Ref
Four-digit number should be without group commas (spaces)
So "1 234 567", "12 345" but "1234"

param: string $_
return: string



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