UserFrosting API

Rule15 implements RuleInterface

Families: Icelandic 1 - ends in 1, not 11: 1, 21, 31, ... 101, 121, 131, ... 2 - everything else: 0, 2, 3, ... 10, 11, 12, ... 20, 22, .

..

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