LanguageLv Class Reference
[Language]

Latvian (Latviešu). More...

Inherits Language.

List of all members.

Public Member Functions

 convertPlural ($count, $forms)
 Plural form transformations.


Detailed Description

Latvian (Latviešu).

Author:
Niklas Laxström
Copyright © 2006, Niklas Laxström http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later

Definition at line 12 of file LanguageLv.php.


Member Function Documentation

LanguageLv::convertPlural ( count,
forms 
)

Plural form transformations.

Using the first form for words with the last digit 1, but not for words with the last digits 11, and the second form for all the others.

Example: {{plural:{{NUMBEROFARTICLES}}|article|articles}}

Parameters:
integer $count
string $wordform1
string $wordform2
string $wordform3 (not used)
Returns:
string

Reimplemented from Language.

Definition at line 24 of file LanguageLv.php.

References $count, and Language::preConvertPlural().


The documentation for this class was generated from the following file:

Generated on Sat Sep 5 02:08:40 2009 for MediaWiki by  doxygen 1.5.9