Ejemplo n.º 1
0
 /**
  * (non-PHPdoc) Overridden to force reload if translation hints enabled and cache does not contain meta data
  * @see Mage_Core_Model_Translate::_loadCache()
  */
 protected function _loadCache()
 {
     $result = parent::_loadCache();
     if ($this->getTranslationHintsEnabled() && !$result instanceof SSE_TranslationHints_Model_Data) {
         return false;
     }
     if ($result !== false) {
         $this->_mode->setUseCache(true);
     }
     return $result;
 }