public function SearchApiViewsCache::get_results_key in Search API 7
Overrides views_plugin_cache::get_results_key().
This is unnecessary for Views >= 3.8.
Overrides views_plugin_cache::get_results_key
2 calls to SearchApiViewsCache::get_results_key()
- SearchApiViewsCache::cache_get in contrib/
search_api_views/ includes/ plugin_cache.inc - Overrides views_plugin_cache::cache_get().
- SearchApiViewsCache::cache_set in contrib/
search_api_views/ includes/ plugin_cache.inc - Overrides views_plugin_cache::cache_set().
File
- contrib/
search_api_views/ includes/ plugin_cache.inc, line 120 - Contains the SearchApiViewsCache class.
Class
- SearchApiViewsCache
- Plugin class for caching Search API views.
Code
public function get_results_key() {
if (!isset($this->_results_key)) {
$this->_results_key = $this->view->name . ':' . $this->display->id . ':results:' . $this
->get_cache_key();
}
return $this->_results_key;
}