UserFrosting API

Rule7 implements RuleInterface

Families: Slavic (Croatian, Serbian, Russian, Ukrainian) 1 - ends in 1, not 11: 1, 21, 31, ... 101, 121, ... 2 - ends in 2-4, not 12-14: 2, 3, 4, 22, 23, 24, 32, ... 3 - everything else: 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 25, 26, .

..

Tags
see
https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals#Plural_rule_7_(3_forms)

Table of Contents

getRule() Return the rule to apply. int

Methods

getRule()

Return the rule to apply.

public static getRule( $number : mixed ) : int
Parameters
$number : mixed

The number we want the rule for

Return values
int

The rule

Search results