Ejemplo n.º 1
0
 /**
  * Clear the query cache for the object
  */
 public function clearQueryCache()
 {
     FileUtility::deleteFilesMatchingWildCard(Application::CACHE . 'query*-' . $this->getClass(true) . '-*');
 }
 /**
  * Clear the cache for a particular file path
  * @param path - the path for which to clear the cache for
  * @access protected
  */
 protected function clearCache($path)
 {
     $path = MarkupInterpreter::cachePath($path);
     FileUtility::deleteFilesMatchingWildCard(Application::CACHE . '*' . $path . '*');
 }