summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2013-06-05 06:50:41 (GMT)
committerAlex Pott2013-06-05 06:50:41 (GMT)
commitb58f44410f964e321184b29353e622ed4610ad49 (patch)
tree928f90873becad22646e87202a923c09fde59a4a
parent9ae13bc8e1286e78ba650f17ae7407e2938d8e19 (diff)
Issue #2002924 by markie: Rename Views method get_join_data() to getJoinData().
-rw-r--r--core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
index 8cfc37d..d24eded 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php
@@ -447,7 +447,7 @@ class Sql extends QueryPluginBase {
// If no join is specified, pull it from the table data.
if (!isset($join)) {
- $join = $this->get_join_data($table, $this->relationships[$relationship]['base']);
+ $join = $this->getJoinData($table, $this->relationships[$relationship]['base']);
if (empty($join)) {
return FALSE;
}
@@ -532,7 +532,7 @@ class Sql extends QueryPluginBase {
// If we do not have join info, fetch it.
if (!isset($join)) {
- $join = $this->get_join_data($table, $this->relationships[$relationship]['base']);
+ $join = $this->getJoinData($table, $this->relationships[$relationship]['base']);
}
// If it can't be fetched, this won't work.
@@ -598,7 +598,7 @@ class Sql extends QueryPluginBase {
// If we do not have join info, fetch it.
if (!isset($join)) {
- $join = $this->get_join_data($table, $this->relationships[$relationship]['base']);
+ $join = $this->getJoinData($table, $this->relationships[$relationship]['base']);
}
// If it can't be fetched, this won't work.
@@ -625,7 +625,7 @@ class Sql extends QueryPluginBase {
}
// Do we have to add this table?
- $left_join = $this->get_join_data($join->leftTable, $this->relationships[$relationship]['base']);
+ $left_join = $this->getJoinData($join->leftTable, $this->relationships[$relationship]['base']);
if (!isset($this->tables[$relationship][$join->leftTable])) {
$add[$join->leftTable] = $left_join;
}
@@ -692,7 +692,7 @@ class Sql extends QueryPluginBase {
* @return Drupal\views\Plugin\views\join\JoinPluginBase
* A Join object or child object, if one exists.
*/
- function get_join_data($table, $base_table) {
+ public function getJoinData($table, $base_table) {
// Check to see if we're linking to a known alias. If so, get the real
// table's data instead.
if (!empty($this->table_queue[$table])) {