Issue #2003472 by trevorkjorlien, Frederico: Rename Views method get_table_info() to getTableInfo().
parent
3a4632cece
commit
df4aac2951
|
@ -192,7 +192,7 @@ class JoinPluginBase extends ContainerFactoryPluginBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
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 @@ class Sql extends QueryPluginBase {
|
||||||
* 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];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue