UserFrosting API

Rule2 implements RuleInterface

Families: Romanic (French, Brazilian Portuguese) 1 - 0, 1 2 - everything else: 2, 3, .

..

Tags
see
https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals#Plural_rule_2_(2_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