You are here

function content_handler_field_multiple::query in Content Construction Kit (CCK) 6.3

Same name and namespace in other branches
  1. 6.2 includes/views/handlers/content_handler_field_multiple.inc \content_handler_field_multiple::query()

File

includes/views/handlers/content_handler_field_multiple.inc, line 118
An extended subclass for field handling that adds multiple field grouping.

Class

content_handler_field_multiple
@file An extended subclass for field handling that adds multiple field grouping.

Code

function query() {

  // If this is not a grouped field, use the generic query().
  if (!$this->defer_query) {
    return parent::query();
  }

  // Grouped field: do NOT call ensure_my_table, only add additional fields.
  $this
    ->add_additional_fields();
  $this->field_alias = $this->aliases['vid'];
}