You are here

function views_plugin_query_default::get_cache_info in Views (for Drupal 7) 6.3

Return info to base the uniqueness of the result on.

Return value

$cache_info A string or array with query unique data or FALSE to deactivate caching

Overrides views_plugin_query::get_cache_info

File

plugins/views_plugin_query_default.inc, line 1356
views_plugin_query_default.inc Defines the default query object which builds SQL to execute using the Drupal database API.

Class

views_plugin_query_default
Object used to create a SELECT query.

Code

function get_cache_info() {
  return array(
    'final_query' => $this->final_query,
    'count_query' => $this->count_query,
    'query_args' => $this->query_args,
  );
}