Utility class for returning the plural rules according to the given locale
category | Zend |
---|---|
package | Zend_Locale |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
getPlural(integer $number, string $locale) : integer
integer
Number for plural selection
string
Locale to use
integer
Plural number to usesetPlural(string $rule, string $locale) : null
string
Callback which acts as rule
string
Locale which is used for this callback
null
$_plural : string
array()