function views_plugin_pager::set_current_page in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 7.3 plugins/views_plugin_pager.inc \views_plugin_pager::set_current_page()
Set the current page.
Parameters
$number: If provided, the page number will be set to this. If NOT provided, the page number will be set from the global page array.
1 method overrides views_plugin_pager::set_current_page()
- views_plugin_pager_full::set_current_page in plugins/
views_plugin_pager_full.inc - Set the current page.
File
- plugins/
views_plugin_pager.inc, line 79
Class
- views_plugin_pager
- The base plugin to handle pager.
Code
function set_current_page($number = NULL) {
$this->current_page = $number;
}