Example #1
0
 /**
  * Resets template, language and menu xml cache
  */
 public function resetCache()
 {
     $aTemplates = $this->getModule()->getTemplates();
     $oUtils = oxRegistry::getUtils();
     $oUtils->resetTemplateCache($aTemplates);
     $oUtils->resetLanguageCache();
     $oUtils->resetMenuCache();
     oxModuleVariablesLocator::resetModuleVariables();
     $this->_clearApcCache();
 }
 /**
  * Resets previously set module information.
  *
  * @static
  */
 public static function resetModuleVariables()
 {
     self::$moduleVariables = array();
     oxFileCache::clearCache();
 }