Core Class
View Source on Trac ↗
Core Class
Plural_Forms
class Plural_Forms
// Constructor: function Object() { [native code] } No description available.
Methods 4 methods
| Method / Return | Description |
|---|---|
| __construct() void | Constructor.
Parameters: $str: mixed |
| parse() void | Parse a Plural-Forms string into tokens.
Parameters: $str: mixed |
| get() int | Get the plural form for a number.
Parameters: $num: mixed |
| execute() int | Execute the plural form function.
Parameters: $n: mixed |
Properties
| Property / Type | Description |
|---|---|
| $op_precedence mixed public | No description available. |
| $tokens mixed public | No description available. |
| $cache mixed public | No description available. |
Class Information
Source File
wp-includes/pomo/plural-forms.php
Advertisement