You are here

function _views_query::get_table_name in Views (for Drupal 7) 5

1 call to _views_query::get_table_name()
_views_query::query in ./views_query.inc

File

./views_query.inc, line 556

Class

_views_query

Code

function get_table_name($table, $table_num, $alias_prefix = null) {
  if (is_null($alias_prefix)) {
    $alias_prefix = $this->use_alias_prefix;
  }
  return $table_num < 2 ? $alias_prefix . $table : $alias_prefix . $table . $table_num;
}