You are here

function views_plugin_display::use_pager in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_display.inc \views_plugin_display::use_pager()
  2. 7.3 plugins/views_plugin_display.inc \views_plugin_display::use_pager()

Does the display have a pager enabled?

4 calls to views_plugin_display::use_pager()
views_plugin_display::options_form in plugins/views_plugin_display.inc
Provide the default form for setting options.
views_plugin_display::options_summary in plugins/views_plugin_display.inc
Provide the default summary for options in the views UI.
views_plugin_display::pre_execute in plugins/views_plugin_display.inc
Set up any variables on the view prior to execution. These are separated from execute because they are extremely common and unlikely to be overridden on an individual display.
views_plugin_display::render_pager in plugins/views_plugin_display.inc
Does the display render the pager if it has it enabled?
1 method overrides views_plugin_display::use_pager()
views_plugin_display_attachment::use_pager in plugins/views_plugin_display_attachment.inc
Does the display have a pager enabled?

File

plugins/views_plugin_display.inc, line 114
Contains the base display plugin.

Class

views_plugin_display
The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.

Code

function use_pager() {
  if (!empty($this->definition['use pager'])) {
    return $this
      ->get_option('use_pager');
  }
  return FALSE;
}