You are here

function views_handler_field::query in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 6.2 handlers/views_handler_field.inc \views_handler_field::query()
  2. 7.3 handlers/views_handler_field.inc \views_handler_field::query()

Called to add the field to a query.

Overrides views_handler::query

1 call to views_handler_field::query()
views_handler_field_history_user_timestamp::query in modules/node/views_handler_field_history_user_timestamp.inc
Called to add the field to a query.
21 methods override views_handler_field::query()
views_handler_field_broken::query in handlers/views_handler_field.inc
Called to add the field to a query.
views_handler_field_comment_link::query in modules/comment/views_handler_field_comment_link.inc
Called to add the field to a query.
views_handler_field_comment_node_link::query in modules/comment/views_handler_field_comment_node_link.inc
Called to add the field to a query.
views_handler_field_counter::query in handlers/views_handler_field_counter.inc
Called to add the field to a query.
views_handler_field_custom::query in handlers/views_handler_field_custom.inc
Called to add the field to a query.

... See full list

File

handlers/views_handler_field.inc, line 64

Class

views_handler_field
Base field handler that has no options and renders an unformatted field.

Code

function query() {
  $this
    ->ensure_my_table();

  // Add the field.
  $this->field_alias = $this->query
    ->add_field($this->table_alias, $this->real_field);
  $this
    ->add_additional_fields();
}