You are here

public function views_join_subquery::construct in Views (for Drupal 7) 7.3

Construct the views_join object.

Overrides views_join::construct

File

includes/handlers.inc, line 1750
Defines the various handler objects to help build and display views.

Class

views_join_subquery
Join handler for relationships that join with a subquery as the left field.

Code

public function construct($table = NULL, $left_table = NULL, $left_field = NULL, $field = NULL, $extra = array(), $type = 'LEFT') {
  parent::construct($table, $left_table, $left_field, $field, $extra, $type);
  $this->left_query = $this->definition['left_query'];
}