/** * Rewrite BXH cache * @param array $params * @author QuangTM */ public function rewriteBXHCache($params) { if (!empty($params)) { // Init model Footbal $modelFootball = new Thethao_Model_Football(); $modelFootball->rewriteBXHCache($params); //init news instance $caching = Thethao_Model_Caching::getInstance(); $caching->clearCacheFile(); } }