protected function i18n_string_textgroup_default::cache_get in Internationalization 7
Get translation from cache
2 calls to i18n_string_textgroup_default::cache_get()
- i18n_string_textgroup_cached::cache_get in i18n_string/
i18n_string.inc - Get translation from cache.
- i18n_string_textgroup_default::build_string in i18n_string/
i18n_string.inc - Build string object
1 method overrides i18n_string_textgroup_default::cache_get()
- i18n_string_textgroup_cached::cache_get in i18n_string/
i18n_string.inc - Get translation from cache.
File
- i18n_string/
i18n_string.inc, line 611 - API for internationalization strings
Class
- i18n_string_textgroup_default
- Textgroup handler for i18n_string API
Code
protected function cache_get($context) {
return isset($this->strings[$context]) ? $this->strings[$context] : NULL;
}