You are here

function views_plugin_display::use_ajax 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_ajax()
  2. 7.3 plugins/views_plugin_display.inc \views_plugin_display::use_ajax()

Does the display use AJAX?

2 calls to views_plugin_display::use_ajax()
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_block::uses_exposed in plugins/views_plugin_display_block.inc
Block views use exposed widgets only if AJAX is set.

File

plugins/views_plugin_display.inc, line 104
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_ajax() {
  if (!empty($this->definition['use ajax'])) {
    return $this
      ->get_option('use_ajax');
  }
  return FALSE;
}