Issue Type: Improvement Created: 2010-05-22T02:08:14.000+0000 Last Updated: 2010-06-22T13:51:37.000+0000 Status: Resolved Fix version(s): - 1.10.6 (22/Jun/10)
Reporter: Paryank Kansara (paryankkansara) Assignee: Thomas Weidner (thomas) Tags: - Zend_Application
Related issues: - ZF-10034
We can define almost all the options for Zend_Translate through application configuration file using Zend_Application. But I also want to use cache with Zend_Translate. Currently, we cannot define cache for Zend_Translate from application configuration. We should have a feature so that we can define cache manager template name in translate resource options and cache can be initialized automatically.
Posted by Thomas Weidner (thomas) on 2010-05-22T02:37:49.000+0000
Actually you can not assign a cache by option as it is added statically. This is the first things which have to be added for this issue.
Therefor reassigning the issue to myself.
Posted by Thomas Weidner (thomas) on 2010-06-06T14:57:49.000+0000
You can now set the cache within the options of Zend_Translate and it's adapters.
Feel free to propose any further improvement to the propert component.
Posted by Paryank Kansara (paryankkansara) on 2010-06-06T16:05:34.000+0000
Thanks for implementing this feature.
It would be nice if we could also assign cache manager template name as an argument to Zend_Translate_Adapter::setCache() because, we cannot define instance of Zend_Cache_Core in configuration file. So defining cache manager template name should automatically assign cache instance to it.
Have you found an issue?
See the Overview section for more details.