function views_handler_field::query

3.x views_handler_field.inc views_handler_field::query()
2.x 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()
19 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 61

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();
}