UserFrosting API

RuleInterface

Interface for Rule Definition.

The plural rules are based on a list published by the Mozilla Developer Network & code from phpBB Group

Tags
see
https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals

Table of Contents

getRule() Return the rule to apply. int

Methods

getRule()

Return the rule to apply.

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

The number we want the rule for

Return values
int

The rule

Search results