function view::set_current_page

Same name in other branches
  1. 7.x-3.x includes/view.inc \view::set_current_page()

Change/Set the current page for the pager.

File

includes/view.inc, line 260

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_current_page($page) {
    $this->current_page = $page;
}