Commit 19addd35 authored by alexpott's avatar alexpott

Issue #2002882 by aspilicious: Rename Views method items_per_page_exposed() to...

Issue #2002882 by aspilicious: Rename Views method items_per_page_exposed() to itemsPerPageExposed().
parent d71dcf4f
......@@ -249,7 +249,7 @@ function uses_exposed() {
return FALSE;
}
function items_per_page_exposed() {
protected function itemsPerPageExposed() {
return FALSE;
}
......
......@@ -210,7 +210,7 @@ public function validateOptionsForm(&$form, &$form_state) {
}
public function query() {
if ($this->items_per_page_exposed()) {
if ($this->itemsPerPageExposed()) {
$query = drupal_container()->get('request')->query;
$items_per_page = $query->get('items_per_page');
if ($items_per_page > 0) {
......@@ -324,10 +324,10 @@ function update_page_info() {
}
function uses_exposed() {
return $this->items_per_page_exposed() || $this->offset_exposed();
return $this->itemsPerPageExposed() || $this->offset_exposed();
}
function items_per_page_exposed() {
protected function itemsPerPageExposed() {
return !empty($this->options['expose']['items_per_page']);
}
......@@ -336,7 +336,7 @@ function offset_exposed() {
}
function exposed_form_alter(&$form, &$form_state) {
if ($this->items_per_page_exposed()) {
if ($this->itemsPerPageExposed()) {
$options = explode(',', $this->options['expose']['items_per_page_options']);
$sanitized_options = array();
if (is_array($options)) {
......
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