Commit 55f5d78e authored by alexpott's avatar alexpott

Issue #2002970 by bdone: Rename Views method get_pager_id() to getPagerId().

parent acd9be1b
......@@ -133,7 +133,7 @@ function get_total_items() {
/**
* Get the pager id, if it exists
*/
function get_pager_id() {
public function getPagerId() {
return isset($this->options['id']) ? $this->options['id'] : 0;
}
......
......@@ -151,7 +151,7 @@ function template_preprocess_views_view(&$vars) {
'view_dom_id' => $vars['dom_id'],
// To fit multiple views on a page, the programmer may have
// overridden the display's pager_element.
'pager_element' => isset($view->pager) ? $view->pager->get_pager_id() : 0,
'pager_element' => isset($view->pager) ? $view->pager->getPagerId() : 0,
),
),
),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment