Méthode | Description | |
---|---|---|
addException ( $singular, $plural ) | * Add an exception to the rules for inflection. | |
pluralize ( $word ) | * Pluralize a word, obeying any stored exceptions. | |
reset ( ) | * Forget all stored exceptions. |
Méthode | Description | |
---|---|---|
__construct ( ) | * Static class forbids instantiation. |
public static addException ( $singular, $plural ) | ||
$singular | the singular form of this word | |
$plural | the plurbal form of this word |
public static pluralize ( $word ) | ||
$word | the word to pluralize |