コード例 #1
0
ファイル: user.php プロジェクト: Mtechnik/phpbb-core
 /**
  * Determine which plural form we should use.
  * For some languages this is not as simple as for English.
  *
  * @param $number        int|float   The number we want to get the plural case for. Float numbers are floored.
  * @param $force_rule    mixed   False to use the plural rule of the language package
  *                               or an integer to force a certain plural rule
  * @return int|bool     The plural-case we need to use for the number plural-rule combination, false if $force_rule
  * 					   was invalid.
  *
  * @deprecated: 3.2.0-dev (To be removed: 3.3.0)
  */
 function get_plural_form($number, $force_rule = false)
 {
     return $this->language->get_plural_form($number, $force_rule);
 }