protected function i18n_string_textgroup_default::multiple_cache_set in Internationalization 7
Set multiple cache.
Parameters
$context: String context with language property at the end.
$strings: Array of strings (may be empty) to cache.
1 call to i18n_string_textgroup_default::multiple_cache_set()
- i18n_string_textgroup_default::multiple_translation_search in i18n_string/
i18n_string.inc - Search multiple translations with key combinations.
File
- i18n_string/
i18n_string.inc, line 981 - API for internationalization strings
Class
- i18n_string_textgroup_default
- Textgroup handler for i18n_string API
Code
protected function multiple_cache_set($context, $strings) {
$cache_key = implode(':', $context);
$this->cache_multiple[$cache_key] = $strings;
}