Previous Page
load()

Solar_Model_Tags_Record
locale()

Next Page
next()

locale()

public string locale ( string $key, string $num default 1, array $replace default NULL )

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

Inherited from Solar_Sql_Model_Record.

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.