| 1 handlers.inc | views_join_subquery::construct($table = NULL, $left_table = NULL, $left_field = NULL, $field = NULL, $extra = array(), $type = 'LEFT') | 
        
Construct the views_join object.
Overrides views_join::construct
File
- core/
modules/ views/ includes/ handlers.inc, line 1169  - 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. eg: LEFT JOIN node node_term_data ON ([YOUR SUBQUERY HERE]) = node_term_data.nid
 
Code
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'];
}