public function i18n_string_object::get_cid in Internationalization 7
Returns the caching id for this object.
Return value
string The caching id.
2 calls to i18n_string_object::get_cid()
- i18n_string_object::cache_reset in i18n_string/
i18n_string.inc - Reset cache, needed for tests.
- i18n_string_object::rebuild_from_cache in i18n_string/
i18n_string.inc - Rebuild the object data based on the persistent cache.
File
- i18n_string/
i18n_string.inc, line 81 - API for internationalization strings
Class
- i18n_string_object
- String object that contains source and translations.
Code
public function get_cid() {
return 'i18n:string:obj:' . $this
->get_name();
}