UserFrosting API

Rule4 implements RuleInterface

Families: Celtic (Scottish Gaelic) 1 - is 1 or 11: 1, 11 2 - is 2 or 12: 2, 12 3 - others between 3 and 19: 3, 4, ... 10, 13, ... 18, 19 4 - everything else: 0, 20, 21, .

..

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