You are here

function view::set_use_ajax in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 6.2 includes/view.inc \view::set_use_ajax()
  2. 7.3 includes/view.inc \view::set_use_ajax()

Whether or not AJAX should be used. If AJAX is used, paging, tablesorting and exposed filters will be fetched via an AJAX call rather than a page refresh.

File

includes/view.inc, line 329
view.inc Provides the view object type and associated methods.

Class

view
An object to contain all of the data to generate a view, plus the member functions to build the view query, execute the query and render the output.

Code

function set_use_ajax($use_ajax) {
  $this->use_ajax = $use_ajax;
}