You are here

function views_plugin_pager::use_count_query in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 7.3 plugins/views_plugin_pager.inc \views_plugin_pager::use_count_query()

Determine if a pager needs a count query.

If a pager needs a count query, a simple query

2 methods override views_plugin_pager::use_count_query()
views_plugin_pager_none::use_count_query in plugins/views_plugin_pager_none.inc
Determine if a pager needs a count query.
views_plugin_pager_some::use_count_query in plugins/views_plugin_pager_some.inc
Determine if a pager needs a count query.

File

plugins/views_plugin_pager.inc, line 131

Class

views_plugin_pager
The base plugin to handle pager.

Code

function use_count_query() {
  return TRUE;
}