示例#1
0
 /**
  * Clear Cache
  */
 public static function clearCache()
 {
     if (self::canBeCached()) {
         $cache = self::getCacheObject();
         $cache->clean(Zend_Cache::CLEANING_MODE_ALL);
     }
     //TODO - there is some mess with cache. Should be fixed
     mvb_Model_API::clearCache();
 }