InterviewSolution
Saved Bookmarks
| 1. |
How Can I Make All I'll 8n-aware Components Aware Of My Zend_translate Object? |
|
Answer» A VARIETY of components are translation AWARE (i.e., ACCEPT Zend_Translate objects), including: Zend_View_Helper_Translate Zend_Validate_* Zend_FormTo have them all use the same Zend_Translate instance, simply place it in the REGISTRY with the key “Zend_Translate”: Zend_Registry::set(‘Zend_Translate’, $translate);A variety of components are translation aware (i.e., accept Zend_Translate objects), including: To have them all use the same Zend_Translate instance, simply place it in the registry with the key “Zend_Translate”: |
|