flushCache() 공개 메소드

Flush the submission cache.
public flushCache ( )
예제 #1
0
파일: ArticleDAO.inc.php 프로젝트: pkp/ojs
 function flushCache()
 {
     // Because both publishedArticles and articles are cached by
     // article ID, flush both caches on update.
     parent::flushCache();
     $publishedArticleDao = DAORegistry::getDAO('PublishedArticleDAO');
     $cache = $publishedArticleDao->_getPublishedArticleCache();
     $cache->flush();
 }