[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Ossetian (Ирон) 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: | Soslan Khubulov |
File Size: | 121 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
LanguageOs:: (1 method):
convertGrammar()
Class: LanguageOs - X-Ref
Ossetian (Ирон)convertGrammar( $word, $case ) X-Ref |
Convert from the nominative form of a noun to other cases Invoked with {{grammar:case|word}} Depending on word there are four different ways of converting to other cases. 1) Word consist of not cyrillic letters or is an abbreviation. Then result word is: word + hyphen + case ending. 2) Word consist of cyrillic letters. 2.1) Word is in plural. Then result word is: word - last letter + case ending. Ending of allative case here is 'æм'. 2.2) Word is in singular. 2.2.1) Word ends on consonant. Then result word is: word + case ending. 2.2.2) Word ends on vowel. Then result word is: word + 'й' + case ending for cases != allative or comitative and word + case ending for allative or comitative. Ending of allative case here is 'æ'. param: string $word param: string $case return: string |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |