public function i18n_string_object::cache_reset in Internationalization 7
Reset cache, needed for tests.
File
- i18n_string/
i18n_string.inc, line 69 - API for internationalization strings
Class
- i18n_string_object
- String object that contains source and translations.
Code
public function cache_reset() {
$this->translations = array();
// Ensure a possible persistent cache of this object is cleared too.
cache_clear_all($this
->get_cid(), 'cache', TRUE);
}