class invalid_plural_rule_exception extends language_exception

Thrown when nonexistent plural rule is specified

Methods

__construct(string $message = "", array $parameters = array(), Exception $previous = null, int $code = 0)

Constructor

array
get_parameters()

Return the arguments associated with the message if it's a language var.

Details

in runtime_exception at line 38
__construct(string $message = "", array $parameters = array(), Exception $previous = null, int $code = 0)

Constructor

Parameters

string $message

The Exception message to throw (must be a language variable).

array $parameters

The parameters to use with the language var.

Exception $previous

The previous runtime_exception used for the runtime_exception chaining.

int $code

The Exception code.

in runtime_exception at line 48
array get_parameters()

Return the arguments associated with the message if it's a language var.

Return Value

array