\DynamicTranslationAdapter
Synopsis
class DynamicTranslationAdapter
{
- // members
- protected static Zend_Cache_Frontend $cache;
- // methods
- public string translate()
- protected string findOrCreateString()
- public static Zend_Cache_Frontend get_cache()
- protected string inject()
Members
protected
- $cache — Zend_Cache_Frontend
Methods
protected
- findOrCreateString() — Find a string matching the given entity in the cache, or create one and add it.
- inject() — Inject the given parameters into the string. This is lifted directly from {@link i18n::_t()}.
public
- get_cache()
- translate() — Translate the given entity, or fall back to the default string if no matching entity exists in the database