Commit df4aac29 authored by alexpott's avatar alexpott

Issue #2003472 by trevorkjorlien, Frederico: Rename Views method...

Issue #2003472 by trevorkjorlien, Frederico: Rename Views method get_table_info() to getTableInfo().
parent 3a4632ce
...@@ -192,7 +192,7 @@ public function buildJoin($select_query, $table, $view_query) { ...@@ -192,7 +192,7 @@ public function buildJoin($select_query, $table, $view_query) {
} }
if ($this->leftTable) { if ($this->leftTable) {
$left = $view_query->get_table_info($this->leftTable); $left = $view_query->getTableInfo($this->leftTable);
$left_field = "$left[alias].$this->leftField"; $left_field = "$left[alias].$this->leftField";
} }
else { else {
......
...@@ -707,7 +707,7 @@ function get_join_data($table, $base_table) { ...@@ -707,7 +707,7 @@ function get_join_data($table, $base_table) {
* If you need the alias of a table with a particular relationship, use * If you need the alias of a table with a particular relationship, use
* ensure_table(). * ensure_table().
*/ */
function get_table_info($table) { public function getTableInfo($table) {
if (!empty($this->table_queue[$table])) { if (!empty($this->table_queue[$table])) {
return $this->table_queue[$table]; return $this->table_queue[$table];
} }
......
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