Solar_View_Helper_GetText::getText()
public
string
Solar_View_Helper_GetText::getText
( string $key
, int|float $num = 1
, array $replace = NULL
)
Returns a localized string, with escaping applied.
Parameters
(string)
$key
: The locale key to look up.(int|float)
$num
: A number to help determine if the translation should return singluar or plural.(array)
$replace
: If an array, will call vsprintf() on the localized string using the replacements in the array.
Returns
(string) The translated locale string.
Description
Returns a localized string, with escaping applied.