You are here

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

2 calls to _views_query::ensure_table()
_views_query::add_field in ./views_query.inc
_views_query::add_orderby in ./views_query.inc

File

./views_query.inc, line 434

Class

_views_query

Code

function ensure_table($table) {
  if ($table == $this->primary_table || $this->tables[$table]) {
    return;
  }
  if ($this
    ->ensure_path($table)) {
    $this
      ->queue_table($table);
  }
}