You are here

function views_handler_field::construct 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::construct()
  2. 7.3 handlers/views_handler_field.inc \views_handler_field::construct()

Construct a new field handler.

Overrides views_object::construct

18 calls to views_handler_field::construct()
views_handler_field_aggregator_category::construct in modules/aggregator/views_handler_field_aggregator_category.inc
Constructor to provide additional field to add.
views_handler_field_aggregator_title_link::construct in modules/aggregator/views_handler_field_aggregator_title_link.inc
Construct a new field handler.
views_handler_field_comment_link::construct in modules/comment/views_handler_field_comment_link.inc
Construct a new field handler.
views_handler_field_comment_node_link::construct in modules/comment/views_handler_field_comment_node_link.inc
Construct a new field handler.
views_handler_field_filter_format_name::construct in modules/filter/views_handler_field_filter_format_name.inc
Construct a new field handler.

... See full list

18 methods override views_handler_field::construct()
views_handler_field_aggregator_category::construct in modules/aggregator/views_handler_field_aggregator_category.inc
Constructor to provide additional field to add.
views_handler_field_aggregator_title_link::construct in modules/aggregator/views_handler_field_aggregator_title_link.inc
Construct a new field handler.
views_handler_field_comment_link::construct in modules/comment/views_handler_field_comment_link.inc
Construct a new field handler.
views_handler_field_comment_node_link::construct in modules/comment/views_handler_field_comment_node_link.inc
Construct a new field handler.
views_handler_field_filter_format_name::construct in modules/filter/views_handler_field_filter_format_name.inc
Construct a new field handler.

... See full list

File

handlers/views_handler_field.inc, line 34

Class

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

Code

function construct() {
  parent::construct();
  $this->additional_fields = array();
  if (!empty($this->definition['additional fields'])) {
    $this->additional_fields = $this->definition['additional fields'];
  }
  if (!isset($this->options['exclude'])) {
    $this->options['exclude'] = '';
  }
}