Commit 4547223c authored by alexpott's avatar alexpott

Issue #2002988 by kenianbei, tvlooy: Rename Views method summary_basics() to summaryBasics().

parent 4df1036a
...@@ -809,7 +809,7 @@ function summary_query() { ...@@ -809,7 +809,7 @@ function summary_query() {
$this->base_alias = $this->query->add_field($this->tableAlias, $this->realField); $this->base_alias = $this->query->add_field($this->tableAlias, $this->realField);
$this->summary_name_field(); $this->summary_name_field();
return $this->summary_basics(); return $this->summaryBasics();
} }
/** /**
...@@ -851,7 +851,7 @@ function summary_name_field() { ...@@ -851,7 +851,7 @@ function summary_name_field() {
* Some basic summary behavior that doesn't need to be repeated as much as * Some basic summary behavior that doesn't need to be repeated as much as
* code that goes into summary_query() * code that goes into summary_query()
*/ */
function summary_basics($count_field = TRUE) { public function summaryBasics($count_field = TRUE) {
// Add the number of nodes counter // Add the number of nodes counter
$distinct = ($this->view->display_handler->getOption('distinct') && empty($this->query->no_distinct)); $distinct = ($this->view->display_handler->getOption('distinct') && empty($this->query->no_distinct));
......
...@@ -54,7 +54,7 @@ function summary_query() { ...@@ -54,7 +54,7 @@ function summary_query() {
$this->base_alias = $this->name_alias = $this->query->add_field(NULL, $formula, $this->field); $this->base_alias = $this->name_alias = $this->query->add_field(NULL, $formula, $this->field);
$this->query->set_count_field(NULL, $formula, $this->field); $this->query->set_count_field(NULL, $formula, $this->field);
return $this->summary_basics(FALSE); return $this->summaryBasics(FALSE);
} }
/** /**
......
...@@ -181,7 +181,7 @@ function summary_query() { ...@@ -181,7 +181,7 @@ function summary_query() {
$this->summary_name_field(); $this->summary_name_field();
return $this->summary_basics(); return $this->summaryBasics();
} }
function summary_argument($data) { function summary_argument($data) {
......
...@@ -167,7 +167,7 @@ function summary_query() { ...@@ -167,7 +167,7 @@ function summary_query() {
} }
$this->summary_name_field(); $this->summary_name_field();
return $this->summary_basics(FALSE); return $this->summaryBasics(FALSE);
} }
/** /**
......
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