public function i18n_string_object::get_args in Internationalization 7
Get message parameters from context and string.
File
- i18n_string/
i18n_string.inc, line 88 - API for internationalization strings
Class
- i18n_string_object
- String object that contains source and translations.
Code
public function get_args() {
return array(
'%location' => $this->location,
'%textgroup' => $this->textgroup,
'%string' => ($string = $this
->get_string()) ? $string : t('[empty string]'),
);
}