function views_handler_field::construct

cis7 views_handler_field.inc views_handler_field::construct()
cle7 views_handler_field.inc views_handler_field::construct()
elmsmedia7 views_handler_field.inc views_handler_field::construct()
icor7 views_handler_field.inc views_handler_field::construct()
meedjum_blog7 views_handler_field.inc views_handler_field::construct()
mooc7 views_handler_field.inc views_handler_field::construct()

Construct a new field handler.

Overrides views_object::construct

21 methods override views_handler_field::construct()
og_handler_field_group_permissions::construct in sites/all/modules/ulmus/og/includes/views/handlers/og_handler_field_group_permissions.inc
Construct a new field handler.
og_handler_field_og_membership_link_delete::construct in sites/all/modules/ulmus/og/includes/views/handlers/og_handler_field_og_membership_link_delete.inc
Construct a new field handler.
og_handler_field_og_membership_link_edit::construct in sites/all/modules/ulmus/og/includes/views/handlers/og_handler_field_og_membership_link_edit.inc
Construct a new field handler.
views_handler_field_aggregator_category::construct in sites/all/modules/ulmus/views/modules/aggregator/views_handler_field_aggregator_category.inc
Constructor to provide additional field to add.
views_handler_field_aggregator_title_link::construct in sites/all/modules/ulmus/views/modules/aggregator/views_handler_field_aggregator_title_link.inc
Construct a new field handler.

... See full list

File

sites/all/modules/ulmus/views/handlers/views_handler_field.inc, line 66
@todo.

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'] = '';
  }
}