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.
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_contextual_links::query in handlers/
views_handler_field_contextual_links.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.
- views_handler_field_entity::query in handlers/
views_handler_field_entity.inc - Overriden to add the field for the entity id.
File
- handlers/
views_handler_field.inc, line 96 - @todo.
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.
$params = $this->options['group_type'] != 'group' ? array('function' => $this->options['group_type']) : array();
$this->field_alias = $this->query->add_field($this->table_alias, $this->real_field, NULL, $params);
$this->add_additional_fields();
}