Same name and namespace in other branches
  1. 6.x-3.x plugins/views_plugin_cache.inc \views_plugin_cache::cache_flush()

Clear out cached data for a view.

We're just going to nuke anything related to the view, regardless of display, to be sure that we catch everything. Maybe that's a bad idea.

File

plugins/views_plugin_cache.inc, line 156
Definition of views_plugin_cache.

Class

views_plugin_cache
The base plugin to handle caching.

Code

public function cache_flush() {
  cache_clear_all($this->view->name . ':', $this->table, TRUE);
}