You are here

protected function i18n_string_textgroup_default::cache_set in Internationalization 7

Set string object into cache

3 calls to i18n_string_textgroup_default::cache_set()
i18n_string_textgroup_default::build_string in i18n_string/i18n_string.inc
Build string object
i18n_string_textgroup_default::load_strings in i18n_string/i18n_string.inc
Load multiple strings.
i18n_string_textgroup_default::string_remove in i18n_string/i18n_string.inc
Remove string object.

File

i18n_string/i18n_string.inc, line 604
API for internationalization strings

Class

i18n_string_textgroup_default
Textgroup handler for i18n_string API

Code

protected function cache_set($context, $string) {
  $this->strings[$context] = $string;
}