Solar_Sql_Model_Record::locale()

public string Solar_Sql_Model_Record::locale ( string $key , string $num = 1 , array $replace = NULL )

Overrides normal locale() to use the model locale strings.

Parameters

  • (string) $key: The key to get a locale string for.

  • (string) $num: If 1, returns a singular string; otherwise, returns a plural string (if one exists).

  • (array) $replace: An array of replacement values for the string.

Returns

  • (string) The locale string, or the original $key if no string found.

Description

Overrides normal locale() to use the model locale strings.



Local